<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>canps: Canps_v3_0</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">canps
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__canps__v3__0.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">Canps_v3_0</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_can_ps___config.html">XCanPs_Config</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains configuration information for a device.  <a href="struct_x_can_ps___config.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_can_ps.html">XCanPs</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> driver instance data.  <a href="struct_x_can_ps.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga97803151fa85361cf6f486bc1d278f08"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga97803151fa85361cf6f486bc1d278f08">XCanPs_IsTxDone</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga97803151fa85361cf6f486bc1d278f08"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro checks if the transmission is complete.  <a href="#ga97803151fa85361cf6f486bc1d278f08">More...</a><br /></td></tr>
<tr class="separator:ga97803151fa85361cf6f486bc1d278f08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga24933e3b4780683d895a385e7d1b50d7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga24933e3b4780683d895a385e7d1b50d7">XCanPs_IsTxFifoFull</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga24933e3b4780683d895a385e7d1b50d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro checks if the transmission FIFO is full.  <a href="#ga24933e3b4780683d895a385e7d1b50d7">More...</a><br /></td></tr>
<tr class="separator:ga24933e3b4780683d895a385e7d1b50d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8dc513dd3633b55910d20150ca42bc12"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga8dc513dd3633b55910d20150ca42bc12">XCanPs_IsHighPriorityBufFull</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga8dc513dd3633b55910d20150ca42bc12"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro checks if the Transmission High Priority Buffer is full.  <a href="#ga8dc513dd3633b55910d20150ca42bc12">More...</a><br /></td></tr>
<tr class="separator:ga8dc513dd3633b55910d20150ca42bc12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga50a4bad5973f5a8819541969a226eeff"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga50a4bad5973f5a8819541969a226eeff">XCanPs_IsRxEmpty</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga50a4bad5973f5a8819541969a226eeff"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro checks if the receive FIFO is empty.  <a href="#ga50a4bad5973f5a8819541969a226eeff">More...</a><br /></td></tr>
<tr class="separator:ga50a4bad5973f5a8819541969a226eeff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaecacd08d0192291be2907ddad81602c5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gaecacd08d0192291be2907ddad81602c5">XCanPs_IsAcceptFilterBusy</a>(InstancePtr)</td></tr>
<tr class="memdesc:gaecacd08d0192291be2907ddad81602c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro checks if the CAN device is ready for the driver to change Acceptance Filter Identifier Registers (AFIR) and Acceptance Filter Mask Registers (AFMR).  <a href="#gaecacd08d0192291be2907ddad81602c5">More...</a><br /></td></tr>
<tr class="separator:gaecacd08d0192291be2907ddad81602c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gada077a3bb7d30a6bca23529ee48ceb42"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gada077a3bb7d30a6bca23529ee48ceb42">XCanPs_CreateIdValue</a>(StandardId,  SubRemoteTransReq,  IdExtension,  ExtendedId,  RemoteTransReq)</td></tr>
<tr class="memdesc:gada077a3bb7d30a6bca23529ee48ceb42"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro calculates CAN message identifier value given identifier field values.  <a href="#gada077a3bb7d30a6bca23529ee48ceb42">More...</a><br /></td></tr>
<tr class="separator:gada077a3bb7d30a6bca23529ee48ceb42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8c9bf6d887f01a9726ef73fa9c3da816"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga8c9bf6d887f01a9726ef73fa9c3da816">XCanPs_CreateDlcValue</a>(DataLengCode)&#160;&#160;&#160;(((DataLengCode) &lt;&lt; XCANPS_DLCR_DLC_SHIFT) &amp; <a class="el" href="group__canps__v3__0.html#ga98d6f7c2e6040aed17c331ab39a52f60">XCANPS_DLCR_DLC_MASK</a>)</td></tr>
<tr class="memdesc:ga8c9bf6d887f01a9726ef73fa9c3da816"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro calculates value for Data Length Code register given Data Length Code value.  <a href="#ga8c9bf6d887f01a9726ef73fa9c3da816">More...</a><br /></td></tr>
<tr class="separator:ga8c9bf6d887f01a9726ef73fa9c3da816"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7ab3760eb2d37d0385cf930fd1cba230"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga7ab3760eb2d37d0385cf930fd1cba230">XCanPs_ClearTimestamp</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga7ab3760eb2d37d0385cf930fd1cba230"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro clears the timestamp in the Timestamp Control Register.  <a href="#ga7ab3760eb2d37d0385cf930fd1cba230">More...</a><br /></td></tr>
<tr class="separator:ga7ab3760eb2d37d0385cf930fd1cba230"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6bace9f8a3ecc5df69b5e9611deaa47c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a>(BaseAddr,  RegOffset)&#160;&#160;&#160;Xil_In32((BaseAddr) + (u32)(RegOffset))</td></tr>
<tr class="memdesc:ga6bace9f8a3ecc5df69b5e9611deaa47c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro reads the given register.  <a href="#ga6bace9f8a3ecc5df69b5e9611deaa47c">More...</a><br /></td></tr>
<tr class="separator:ga6bace9f8a3ecc5df69b5e9611deaa47c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga54552fe78115d81806e23a03646efb55"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga54552fe78115d81806e23a03646efb55">XCanPs_WriteReg</a>(BaseAddr,  RegOffset,  Data)&#160;&#160;&#160;Xil_Out32((BaseAddr) + (u32)(RegOffset), (u32)(Data))</td></tr>
<tr class="memdesc:ga54552fe78115d81806e23a03646efb55"><td class="mdescLeft">&#160;</td><td class="mdescRight">This macro writes the given register.  <a href="#ga54552fe78115d81806e23a03646efb55">More...</a><br /></td></tr>
<tr class="separator:ga54552fe78115d81806e23a03646efb55"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:gad6ed03f509c760e08ab96238349218ad"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gad6ed03f509c760e08ab96238349218ad">XCanPs_SendRecvHandler</a>) (void *CallBackRef)</td></tr>
<tr class="memdesc:gad6ed03f509c760e08ab96238349218ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback type for frame sending and reception interrupts.  <a href="#gad6ed03f509c760e08ab96238349218ad">More...</a><br /></td></tr>
<tr class="separator:gad6ed03f509c760e08ab96238349218ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4ee4a107de8795cfe822285d6ea8997b"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga4ee4a107de8795cfe822285d6ea8997b">XCanPs_ErrorHandler</a>) (void *CallBackRef, u32 ErrorMask)</td></tr>
<tr class="memdesc:ga4ee4a107de8795cfe822285d6ea8997b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback type for error interrupt.  <a href="#ga4ee4a107de8795cfe822285d6ea8997b">More...</a><br /></td></tr>
<tr class="separator:ga4ee4a107de8795cfe822285d6ea8997b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafc877b65a87db5d902e4a863a11d9687"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gafc877b65a87db5d902e4a863a11d9687">XCanPs_EventHandler</a>) (void *CallBackRef, u32 Mask)</td></tr>
<tr class="memdesc:gafc877b65a87db5d902e4a863a11d9687"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback type for all kinds of interrupts except sending frame interrupt, receiving frame interrupt, and error interrupt.  <a href="#gafc877b65a87db5d902e4a863a11d9687">More...</a><br /></td></tr>
<tr class="separator:gafc877b65a87db5d902e4a863a11d9687"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga13dce9f4dede25f041852b1c893ebfba"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga13dce9f4dede25f041852b1c893ebfba">XCanPs_Reset</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga13dce9f4dede25f041852b1c893ebfba"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function resets the CAN device.  <a href="#ga13dce9f4dede25f041852b1c893ebfba">More...</a><br /></td></tr>
<tr class="separator:ga13dce9f4dede25f041852b1c893ebfba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3644ad3aa2b02def735751ed45d207a4"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga3644ad3aa2b02def735751ed45d207a4">XCanPs_GetMode</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga3644ad3aa2b02def735751ed45d207a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine returns the current operation mode of the CAN device.  <a href="#ga3644ad3aa2b02def735751ed45d207a4">More...</a><br /></td></tr>
<tr class="separator:ga3644ad3aa2b02def735751ed45d207a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5a32b11e15d347ecae566778bb1c5e33"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga5a32b11e15d347ecae566778bb1c5e33">XCanPs_EnterMode</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr, u8 OperationMode)</td></tr>
<tr class="memdesc:ga5a32b11e15d347ecae566778bb1c5e33"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function allows the CAN device to enter one of the following operation modes:  <a href="#ga5a32b11e15d347ecae566778bb1c5e33">More...</a><br /></td></tr>
<tr class="separator:ga5a32b11e15d347ecae566778bb1c5e33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6d87194a88956cbe32f48ea3d25697ef"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga6d87194a88956cbe32f48ea3d25697ef">XCanPs_GetStatus</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga6d87194a88956cbe32f48ea3d25697ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns Status value from Status Register (SR).  <a href="#ga6d87194a88956cbe32f48ea3d25697ef">More...</a><br /></td></tr>
<tr class="separator:ga6d87194a88956cbe32f48ea3d25697ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaecf35feac1fbc0df4029ca4e1150c650"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gaecf35feac1fbc0df4029ca4e1150c650">XCanPs_GetBusErrorCounter</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr, u8 *RxErrorCount, u8 *TxErrorCount)</td></tr>
<tr class="memdesc:gaecf35feac1fbc0df4029ca4e1150c650"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reads Receive and Transmit error counters.  <a href="#gaecf35feac1fbc0df4029ca4e1150c650">More...</a><br /></td></tr>
<tr class="separator:gaecf35feac1fbc0df4029ca4e1150c650"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga647e39edd3f7247a5e283e9083d8d285"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga647e39edd3f7247a5e283e9083d8d285">XCanPs_GetBusErrorStatus</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga647e39edd3f7247a5e283e9083d8d285"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reads Error Status value from Error Status Register (ESR).  <a href="#ga647e39edd3f7247a5e283e9083d8d285">More...</a><br /></td></tr>
<tr class="separator:ga647e39edd3f7247a5e283e9083d8d285"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga616ac01563ef3d8f9ae57bf308bad534"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga616ac01563ef3d8f9ae57bf308bad534">XCanPs_ClearBusErrorStatus</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr, u32 Mask)</td></tr>
<tr class="memdesc:ga616ac01563ef3d8f9ae57bf308bad534"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function clears Error Status bit(s) previously set in Error Status Register (ESR).  <a href="#ga616ac01563ef3d8f9ae57bf308bad534">More...</a><br /></td></tr>
<tr class="separator:ga616ac01563ef3d8f9ae57bf308bad534"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4bea2b2b897bad064ebbf6c87a934a40"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga4bea2b2b897bad064ebbf6c87a934a40">XCanPs_Send</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr, u32 *FramePtr)</td></tr>
<tr class="memdesc:ga4bea2b2b897bad064ebbf6c87a934a40"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sends a CAN Frame.  <a href="#ga4bea2b2b897bad064ebbf6c87a934a40">More...</a><br /></td></tr>
<tr class="separator:ga4bea2b2b897bad064ebbf6c87a934a40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf821f77f00b8eca7c564b15d6c8f8b5e"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gaf821f77f00b8eca7c564b15d6c8f8b5e">XCanPs_Recv</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr, u32 *FramePtr)</td></tr>
<tr class="memdesc:gaf821f77f00b8eca7c564b15d6c8f8b5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function receives a CAN Frame.  <a href="#gaf821f77f00b8eca7c564b15d6c8f8b5e">More...</a><br /></td></tr>
<tr class="separator:gaf821f77f00b8eca7c564b15d6c8f8b5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga64f46d8713f6e3d4c62047d6b9ddbebf"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga64f46d8713f6e3d4c62047d6b9ddbebf">XCanPs_SendHighPriority</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr, u32 *FramePtr)</td></tr>
<tr class="memdesc:ga64f46d8713f6e3d4c62047d6b9ddbebf"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine sends a CAN High Priority frame.  <a href="#ga64f46d8713f6e3d4c62047d6b9ddbebf">More...</a><br /></td></tr>
<tr class="separator:ga64f46d8713f6e3d4c62047d6b9ddbebf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1ec6f79564deff77e496120552004ad8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga1ec6f79564deff77e496120552004ad8">XCanPs_AcceptFilterEnable</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr, u32 FilterIndexes)</td></tr>
<tr class="memdesc:ga1ec6f79564deff77e496120552004ad8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine enables individual acceptance filters.  <a href="#ga1ec6f79564deff77e496120552004ad8">More...</a><br /></td></tr>
<tr class="separator:ga1ec6f79564deff77e496120552004ad8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1cffdc22b01e4b4d3aad5e556bf96d20"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga1cffdc22b01e4b4d3aad5e556bf96d20">XCanPs_AcceptFilterDisable</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr, u32 FilterIndexes)</td></tr>
<tr class="memdesc:ga1cffdc22b01e4b4d3aad5e556bf96d20"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine disables individual acceptance filters.  <a href="#ga1cffdc22b01e4b4d3aad5e556bf96d20">More...</a><br /></td></tr>
<tr class="separator:ga1cffdc22b01e4b4d3aad5e556bf96d20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga52a76621e921b66e70e1bed7a58b72f7"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga52a76621e921b66e70e1bed7a58b72f7">XCanPs_AcceptFilterGetEnabled</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga52a76621e921b66e70e1bed7a58b72f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns enabled acceptance filters.  <a href="#ga52a76621e921b66e70e1bed7a58b72f7">More...</a><br /></td></tr>
<tr class="separator:ga52a76621e921b66e70e1bed7a58b72f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4de284fb96ea457b047c41fbd73ada44"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga4de284fb96ea457b047c41fbd73ada44">XCanPs_AcceptFilterSet</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr, u32 FilterIndex, u32 MaskValue, u32 IdValue)</td></tr>
<tr class="memdesc:ga4de284fb96ea457b047c41fbd73ada44"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets values to the Acceptance Filter Mask Register (AFMR) and Acceptance Filter ID Register (AFIR) for the specified Acceptance Filter.  <a href="#ga4de284fb96ea457b047c41fbd73ada44">More...</a><br /></td></tr>
<tr class="separator:ga4de284fb96ea457b047c41fbd73ada44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf2ac50558c7d926fed54329667d4aaca"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gaf2ac50558c7d926fed54329667d4aaca">XCanPs_AcceptFilterGet</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr, u32 FilterIndex, u32 *MaskValue, u32 *IdValue)</td></tr>
<tr class="memdesc:gaf2ac50558c7d926fed54329667d4aaca"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reads the values of the Acceptance Filter Mask and ID Register for the specified Acceptance Filter.  <a href="#gaf2ac50558c7d926fed54329667d4aaca">More...</a><br /></td></tr>
<tr class="separator:gaf2ac50558c7d926fed54329667d4aaca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0e266c7af58c3b5eaef6e4dcd2354cbe"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga0e266c7af58c3b5eaef6e4dcd2354cbe">XCanPs_SetBaudRatePrescaler</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr, u8 Prescaler)</td></tr>
<tr class="memdesc:ga0e266c7af58c3b5eaef6e4dcd2354cbe"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine sets Baud Rate Prescaler value.  <a href="#ga0e266c7af58c3b5eaef6e4dcd2354cbe">More...</a><br /></td></tr>
<tr class="separator:ga0e266c7af58c3b5eaef6e4dcd2354cbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae452283471584ad19f0c854a782640ab"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gae452283471584ad19f0c854a782640ab">XCanPs_GetBaudRatePrescaler</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr)</td></tr>
<tr class="memdesc:gae452283471584ad19f0c854a782640ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine gets Baud Rate Prescaler value.  <a href="#gae452283471584ad19f0c854a782640ab">More...</a><br /></td></tr>
<tr class="separator:gae452283471584ad19f0c854a782640ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac42876be22acc7e24262120000c4c548"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gac42876be22acc7e24262120000c4c548">XCanPs_SetBitTiming</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr, u8 SyncJumpWidth, u8 TimeSegment2, u8 TimeSegment1)</td></tr>
<tr class="memdesc:gac42876be22acc7e24262120000c4c548"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine sets Bit time.  <a href="#gac42876be22acc7e24262120000c4c548">More...</a><br /></td></tr>
<tr class="separator:gac42876be22acc7e24262120000c4c548"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaecaff4cbadbea1a01f570a7e6917a027"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gaecaff4cbadbea1a01f570a7e6917a027">XCanPs_GetBitTiming</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr, u8 *SyncJumpWidth, u8 *TimeSegment2, u8 *TimeSegment1)</td></tr>
<tr class="memdesc:gaecaff4cbadbea1a01f570a7e6917a027"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine gets Bit time.  <a href="#gaecaff4cbadbea1a01f570a7e6917a027">More...</a><br /></td></tr>
<tr class="separator:gaecaff4cbadbea1a01f570a7e6917a027"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6c86f833053ec1121fcfad4176dea686"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga6c86f833053ec1121fcfad4176dea686">XCanPs_SetRxIntrWatermark</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr, u8 Threshold)</td></tr>
<tr class="memdesc:ga6c86f833053ec1121fcfad4176dea686"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine sets the Rx Full threshold in the Watermark Interrupt Register.  <a href="#ga6c86f833053ec1121fcfad4176dea686">More...</a><br /></td></tr>
<tr class="separator:ga6c86f833053ec1121fcfad4176dea686"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadc59b9185cd5973cb03ea2bae94b70cb"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gadc59b9185cd5973cb03ea2bae94b70cb">XCanPs_GetRxIntrWatermark</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr)</td></tr>
<tr class="memdesc:gadc59b9185cd5973cb03ea2bae94b70cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine gets the Rx Full threshold from the Watermark Interrupt Register.  <a href="#gadc59b9185cd5973cb03ea2bae94b70cb">More...</a><br /></td></tr>
<tr class="separator:gadc59b9185cd5973cb03ea2bae94b70cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf4147148a66b44ca844ecbe3340ecce3"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gaf4147148a66b44ca844ecbe3340ecce3">XCanPs_SetTxIntrWatermark</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr, u8 Threshold)</td></tr>
<tr class="memdesc:gaf4147148a66b44ca844ecbe3340ecce3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine sets the Tx Empty Threshold in the Watermark Interrupt Register.  <a href="#gaf4147148a66b44ca844ecbe3340ecce3">More...</a><br /></td></tr>
<tr class="separator:gaf4147148a66b44ca844ecbe3340ecce3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa59c678943abd873688ba4fd16ee0941"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gaa59c678943abd873688ba4fd16ee0941">XCanPs_GetTxIntrWatermark</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr)</td></tr>
<tr class="memdesc:gaa59c678943abd873688ba4fd16ee0941"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine gets the Tx Empty threshold from Watermark Interrupt Register.  <a href="#gaa59c678943abd873688ba4fd16ee0941">More...</a><br /></td></tr>
<tr class="separator:gaa59c678943abd873688ba4fd16ee0941"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga84d18d801c4f8ab5cc8eeadeff33d8b5"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga84d18d801c4f8ab5cc8eeadeff33d8b5">XCanPs_SelfTest</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga84d18d801c4f8ab5cc8eeadeff33d8b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function runs a self-test on the CAN driver/device.  <a href="#ga84d18d801c4f8ab5cc8eeadeff33d8b5">More...</a><br /></td></tr>
<tr class="separator:ga84d18d801c4f8ab5cc8eeadeff33d8b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga06e4eda1022a81ea619ac7d66e345577"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga06e4eda1022a81ea619ac7d66e345577">XCanPs_IntrEnable</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr, u32 Mask)</td></tr>
<tr class="memdesc:ga06e4eda1022a81ea619ac7d66e345577"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine enables interrupt(s).  <a href="#ga06e4eda1022a81ea619ac7d66e345577">More...</a><br /></td></tr>
<tr class="separator:ga06e4eda1022a81ea619ac7d66e345577"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6228ea25a1ccf31608231b07f3ae54a7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga6228ea25a1ccf31608231b07f3ae54a7">XCanPs_IntrDisable</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr, u32 Mask)</td></tr>
<tr class="memdesc:ga6228ea25a1ccf31608231b07f3ae54a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine disables interrupt(s).  <a href="#ga6228ea25a1ccf31608231b07f3ae54a7">More...</a><br /></td></tr>
<tr class="separator:ga6228ea25a1ccf31608231b07f3ae54a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac3325adebecffcb97cb01ff3c75391b0"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gac3325adebecffcb97cb01ff3c75391b0">XCanPs_IntrGetEnabled</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr)</td></tr>
<tr class="memdesc:gac3325adebecffcb97cb01ff3c75391b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine returns enabled interrupt(s).  <a href="#gac3325adebecffcb97cb01ff3c75391b0">More...</a><br /></td></tr>
<tr class="separator:gac3325adebecffcb97cb01ff3c75391b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac6640f1ea5f9e4027d67af3b4eec4623"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gac6640f1ea5f9e4027d67af3b4eec4623">XCanPs_IntrGetStatus</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr)</td></tr>
<tr class="memdesc:gac6640f1ea5f9e4027d67af3b4eec4623"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine returns interrupt status read from Interrupt Status Register.  <a href="#gac6640f1ea5f9e4027d67af3b4eec4623">More...</a><br /></td></tr>
<tr class="separator:gac6640f1ea5f9e4027d67af3b4eec4623"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae573e5472755420a3b6ded5d01814534"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gae573e5472755420a3b6ded5d01814534">XCanPs_IntrClear</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr, u32 Mask)</td></tr>
<tr class="memdesc:gae573e5472755420a3b6ded5d01814534"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function clears interrupt(s).  <a href="#gae573e5472755420a3b6ded5d01814534">More...</a><br /></td></tr>
<tr class="separator:gae573e5472755420a3b6ded5d01814534"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad7c797dfe9aef613d20c2a822ed301dc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gad7c797dfe9aef613d20c2a822ed301dc">XCanPs_IntrHandler</a> (void *InstancePtr)</td></tr>
<tr class="memdesc:gad7c797dfe9aef613d20c2a822ed301dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine is the interrupt handler for the CAN driver.  <a href="#gad7c797dfe9aef613d20c2a822ed301dc">More...</a><br /></td></tr>
<tr class="separator:gad7c797dfe9aef613d20c2a822ed301dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0204f292cdab7478127acd765d97dd8d"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga0204f292cdab7478127acd765d97dd8d">XCanPs_SetHandler</a> (<a class="el" href="struct_x_can_ps.html">XCanPs</a> *InstancePtr, u32 HandlerType, void *CallBackFunc, void *CallBackRef)</td></tr>
<tr class="memdesc:ga0204f292cdab7478127acd765d97dd8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine installs an asynchronous callback function for the given HandlerType:  <a href="#ga0204f292cdab7478127acd765d97dd8d">More...</a><br /></td></tr>
<tr class="separator:ga0204f292cdab7478127acd765d97dd8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3d3245fb9be426b1f1cca0b20ea90905"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_can_ps___config.html">XCanPs_Config</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga3d3245fb9be426b1f1cca0b20ea90905">XCanPs_LookupConfig</a> (u16 DeviceId)</td></tr>
<tr class="memdesc:ga3d3245fb9be426b1f1cca0b20ea90905"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function looks for the device configuration based on the unique device ID.  <a href="#ga3d3245fb9be426b1f1cca0b20ea90905">More...</a><br /></td></tr>
<tr class="separator:ga3d3245fb9be426b1f1cca0b20ea90905"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6ad5768c2d499d8f745b436632d670dd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga6ad5768c2d499d8f745b436632d670dd">XCanPs_ResetHw</a> (u32 BaseAddr)</td></tr>
<tr class="memdesc:ga6ad5768c2d499d8f745b436632d670dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function resets the CAN device.  <a href="#ga6ad5768c2d499d8f745b436632d670dd">More...</a><br /></td></tr>
<tr class="separator:ga6ad5768c2d499d8f745b436632d670dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ga72600d253c0867ed968aa6db9acea0dd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_can_ps___config.html">XCanPs_Config</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga72600d253c0867ed968aa6db9acea0dd">XCanPs_ConfigTable</a> [XPAR_XCANPS_NUM_INSTANCES]</td></tr>
<tr class="memdesc:ga72600d253c0867ed968aa6db9acea0dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">This table contains configuration information for each CAN device in the system.  <a href="#ga72600d253c0867ed968aa6db9acea0dd">More...</a><br /></td></tr>
<tr class="separator:ga72600d253c0867ed968aa6db9acea0dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga72600d253c0867ed968aa6db9acea0dd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_can_ps___config.html">XCanPs_Config</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga72600d253c0867ed968aa6db9acea0dd">XCanPs_ConfigTable</a> [XPAR_XCANPS_NUM_INSTANCES]</td></tr>
<tr class="memdesc:ga72600d253c0867ed968aa6db9acea0dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">This table contains configuration information for each CAN device in the system.  <a href="#ga72600d253c0867ed968aa6db9acea0dd">More...</a><br /></td></tr>
<tr class="separator:ga72600d253c0867ed968aa6db9acea0dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
CAN operation modes</h2></td></tr>
<tr class="memitem:ga4e4f2c00506467b58276539cc1c2333e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga4e4f2c00506467b58276539cc1c2333e">XCANPS_MODE_CONFIG</a>&#160;&#160;&#160;0x00000001U</td></tr>
<tr class="memdesc:ga4e4f2c00506467b58276539cc1c2333e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configuration mode.  <a href="#ga4e4f2c00506467b58276539cc1c2333e">More...</a><br /></td></tr>
<tr class="separator:ga4e4f2c00506467b58276539cc1c2333e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabfbce28099a84db3fb8199371fea2053"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gabfbce28099a84db3fb8199371fea2053">XCANPS_MODE_NORMAL</a>&#160;&#160;&#160;0x00000002U</td></tr>
<tr class="memdesc:gabfbce28099a84db3fb8199371fea2053"><td class="mdescLeft">&#160;</td><td class="mdescRight">Normal mode.  <a href="#gabfbce28099a84db3fb8199371fea2053">More...</a><br /></td></tr>
<tr class="separator:gabfbce28099a84db3fb8199371fea2053"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga815748d9ef7547d7fd43f2b729c3108c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga815748d9ef7547d7fd43f2b729c3108c">XCANPS_MODE_LOOPBACK</a>&#160;&#160;&#160;0x00000004U</td></tr>
<tr class="memdesc:ga815748d9ef7547d7fd43f2b729c3108c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loop Back mode.  <a href="#ga815748d9ef7547d7fd43f2b729c3108c">More...</a><br /></td></tr>
<tr class="separator:ga815748d9ef7547d7fd43f2b729c3108c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadedb96174b3c7af5c8b82003f3a269fe"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gadedb96174b3c7af5c8b82003f3a269fe">XCANPS_MODE_SLEEP</a>&#160;&#160;&#160;0x00000008U</td></tr>
<tr class="memdesc:gadedb96174b3c7af5c8b82003f3a269fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sleep mode.  <a href="#gadedb96174b3c7af5c8b82003f3a269fe">More...</a><br /></td></tr>
<tr class="separator:gadedb96174b3c7af5c8b82003f3a269fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6f5226ac1abe6816a8a807a1734aa1d2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga6f5226ac1abe6816a8a807a1734aa1d2">XCANPS_MODE_SNOOP</a>&#160;&#160;&#160;0x00000010U</td></tr>
<tr class="memdesc:ga6f5226ac1abe6816a8a807a1734aa1d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Snoop mode.  <a href="#ga6f5226ac1abe6816a8a807a1734aa1d2">More...</a><br /></td></tr>
<tr class="separator:ga6f5226ac1abe6816a8a807a1734aa1d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Callback identifiers used as parameters to XCanPs_SetHandler()</h2></td></tr>
<tr class="memitem:gafed3df99b6f79d0ff7c39a6a03ec6c90"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gafed3df99b6f79d0ff7c39a6a03ec6c90">XCANPS_HANDLER_SEND</a>&#160;&#160;&#160;1U</td></tr>
<tr class="memdesc:gafed3df99b6f79d0ff7c39a6a03ec6c90"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handler type for frame sending interrupt.  <a href="#gafed3df99b6f79d0ff7c39a6a03ec6c90">More...</a><br /></td></tr>
<tr class="separator:gafed3df99b6f79d0ff7c39a6a03ec6c90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6393e21002da8517ac35ae9c1be58681"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga6393e21002da8517ac35ae9c1be58681">XCANPS_HANDLER_RECV</a>&#160;&#160;&#160;2U</td></tr>
<tr class="memdesc:ga6393e21002da8517ac35ae9c1be58681"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handler type for frame reception interrupt.  <a href="#ga6393e21002da8517ac35ae9c1be58681">More...</a><br /></td></tr>
<tr class="separator:ga6393e21002da8517ac35ae9c1be58681"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga60962a646bcd90fd768f78ff34f17ba5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga60962a646bcd90fd768f78ff34f17ba5">XCANPS_HANDLER_ERROR</a>&#160;&#160;&#160;3U</td></tr>
<tr class="memdesc:ga60962a646bcd90fd768f78ff34f17ba5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handler type for error interrupt.  <a href="#ga60962a646bcd90fd768f78ff34f17ba5">More...</a><br /></td></tr>
<tr class="separator:ga60962a646bcd90fd768f78ff34f17ba5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad64733c5ddd21a972fc93a8d43f52d74"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gad64733c5ddd21a972fc93a8d43f52d74">XCANPS_HANDLER_EVENT</a>&#160;&#160;&#160;4U</td></tr>
<tr class="memdesc:gad64733c5ddd21a972fc93a8d43f52d74"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handler type for all other interrupts.  <a href="#gad64733c5ddd21a972fc93a8d43f52d74">More...</a><br /></td></tr>
<tr class="separator:gad64733c5ddd21a972fc93a8d43f52d74"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Register offsets for the CAN. Each register is 32 bits.</h2></td></tr>
<tr class="memitem:gafb27f73bff57c437925c094d2accbeca"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gafb27f73bff57c437925c094d2accbeca">XCANPS_SRR_OFFSET</a>&#160;&#160;&#160;0x00000000U</td></tr>
<tr class="memdesc:gafb27f73bff57c437925c094d2accbeca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Software Reset Register.  <a href="#gafb27f73bff57c437925c094d2accbeca">More...</a><br /></td></tr>
<tr class="separator:gafb27f73bff57c437925c094d2accbeca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga91d2e7710b05c1f1999d26ec4786fe7f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga91d2e7710b05c1f1999d26ec4786fe7f">XCANPS_MSR_OFFSET</a>&#160;&#160;&#160;0x00000004U</td></tr>
<tr class="memdesc:ga91d2e7710b05c1f1999d26ec4786fe7f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Mode Select Register.  <a href="#ga91d2e7710b05c1f1999d26ec4786fe7f">More...</a><br /></td></tr>
<tr class="separator:ga91d2e7710b05c1f1999d26ec4786fe7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9da53efdc3565439b3a73e896ac2256f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga9da53efdc3565439b3a73e896ac2256f">XCANPS_BRPR_OFFSET</a>&#160;&#160;&#160;0x00000008U</td></tr>
<tr class="memdesc:ga9da53efdc3565439b3a73e896ac2256f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Baud Rate Prescaler.  <a href="#ga9da53efdc3565439b3a73e896ac2256f">More...</a><br /></td></tr>
<tr class="separator:ga9da53efdc3565439b3a73e896ac2256f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf746ee190f7157c3508ed6a40a87a69a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gaf746ee190f7157c3508ed6a40a87a69a">XCANPS_BTR_OFFSET</a>&#160;&#160;&#160;0x0000000CU</td></tr>
<tr class="memdesc:gaf746ee190f7157c3508ed6a40a87a69a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bit Timing Register.  <a href="#gaf746ee190f7157c3508ed6a40a87a69a">More...</a><br /></td></tr>
<tr class="separator:gaf746ee190f7157c3508ed6a40a87a69a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga116d4c70b44ccceacd85b97f93caffed"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga116d4c70b44ccceacd85b97f93caffed">XCANPS_ECR_OFFSET</a>&#160;&#160;&#160;0x00000010U</td></tr>
<tr class="memdesc:ga116d4c70b44ccceacd85b97f93caffed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Error Counter Register.  <a href="#ga116d4c70b44ccceacd85b97f93caffed">More...</a><br /></td></tr>
<tr class="separator:ga116d4c70b44ccceacd85b97f93caffed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9fcd5569b88b35770450468eb08ba7ea"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga9fcd5569b88b35770450468eb08ba7ea">XCANPS_ESR_OFFSET</a>&#160;&#160;&#160;0x00000014U</td></tr>
<tr class="memdesc:ga9fcd5569b88b35770450468eb08ba7ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Error Status Register.  <a href="#ga9fcd5569b88b35770450468eb08ba7ea">More...</a><br /></td></tr>
<tr class="separator:ga9fcd5569b88b35770450468eb08ba7ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab03b1427d6741629e7c78dccfa818dff"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gab03b1427d6741629e7c78dccfa818dff">XCANPS_SR_OFFSET</a>&#160;&#160;&#160;0x00000018U</td></tr>
<tr class="memdesc:gab03b1427d6741629e7c78dccfa818dff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Status Register.  <a href="#gab03b1427d6741629e7c78dccfa818dff">More...</a><br /></td></tr>
<tr class="separator:gab03b1427d6741629e7c78dccfa818dff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf4dd00135421b512fc9c7eb7ce6b67bc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gaf4dd00135421b512fc9c7eb7ce6b67bc">XCANPS_ISR_OFFSET</a>&#160;&#160;&#160;0x0000001CU</td></tr>
<tr class="memdesc:gaf4dd00135421b512fc9c7eb7ce6b67bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interrupt Status Register.  <a href="#gaf4dd00135421b512fc9c7eb7ce6b67bc">More...</a><br /></td></tr>
<tr class="separator:gaf4dd00135421b512fc9c7eb7ce6b67bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad534c55a73e054745c04c3adada42a7a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gad534c55a73e054745c04c3adada42a7a">XCANPS_IER_OFFSET</a>&#160;&#160;&#160;0x00000020U</td></tr>
<tr class="memdesc:gad534c55a73e054745c04c3adada42a7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interrupt Enable Register.  <a href="#gad534c55a73e054745c04c3adada42a7a">More...</a><br /></td></tr>
<tr class="separator:gad534c55a73e054745c04c3adada42a7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad00a5deeda33258d922282e6fa62e876"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gad00a5deeda33258d922282e6fa62e876">XCANPS_ICR_OFFSET</a>&#160;&#160;&#160;0x00000024U</td></tr>
<tr class="memdesc:gad00a5deeda33258d922282e6fa62e876"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interrupt Clear Register.  <a href="#gad00a5deeda33258d922282e6fa62e876">More...</a><br /></td></tr>
<tr class="separator:gad00a5deeda33258d922282e6fa62e876"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9548e23d85404e5d7c99dba105d0ace0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga9548e23d85404e5d7c99dba105d0ace0">XCANPS_TCR_OFFSET</a>&#160;&#160;&#160;0x00000028U</td></tr>
<tr class="memdesc:ga9548e23d85404e5d7c99dba105d0ace0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Timestamp Control Register.  <a href="#ga9548e23d85404e5d7c99dba105d0ace0">More...</a><br /></td></tr>
<tr class="separator:ga9548e23d85404e5d7c99dba105d0ace0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafc95b4cb9252a27181088ceb7ea55368"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gafc95b4cb9252a27181088ceb7ea55368">XCANPS_WIR_OFFSET</a>&#160;&#160;&#160;0x0000002CU</td></tr>
<tr class="memdesc:gafc95b4cb9252a27181088ceb7ea55368"><td class="mdescLeft">&#160;</td><td class="mdescRight">Watermark Interrupt Reg.  <a href="#gafc95b4cb9252a27181088ceb7ea55368">More...</a><br /></td></tr>
<tr class="separator:gafc95b4cb9252a27181088ceb7ea55368"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacb31377ed96f3942ad04a2d1cc671e0b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gacb31377ed96f3942ad04a2d1cc671e0b">XCANPS_TXFIFO_ID_OFFSET</a>&#160;&#160;&#160;0x00000030U</td></tr>
<tr class="memdesc:gacb31377ed96f3942ad04a2d1cc671e0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">TX FIFO ID.  <a href="#gacb31377ed96f3942ad04a2d1cc671e0b">More...</a><br /></td></tr>
<tr class="separator:gacb31377ed96f3942ad04a2d1cc671e0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf75023bc197ce872c17549d713df9554"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gaf75023bc197ce872c17549d713df9554">XCANPS_TXFIFO_DLC_OFFSET</a>&#160;&#160;&#160;0x00000034U</td></tr>
<tr class="memdesc:gaf75023bc197ce872c17549d713df9554"><td class="mdescLeft">&#160;</td><td class="mdescRight">TX FIFO DLC.  <a href="#gaf75023bc197ce872c17549d713df9554">More...</a><br /></td></tr>
<tr class="separator:gaf75023bc197ce872c17549d713df9554"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacd9cd2454a08413ca93d0d930259a512"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gacd9cd2454a08413ca93d0d930259a512">XCANPS_TXFIFO_DW1_OFFSET</a>&#160;&#160;&#160;0x00000038U</td></tr>
<tr class="memdesc:gacd9cd2454a08413ca93d0d930259a512"><td class="mdescLeft">&#160;</td><td class="mdescRight">TX FIFO Data Word 1.  <a href="#gacd9cd2454a08413ca93d0d930259a512">More...</a><br /></td></tr>
<tr class="separator:gacd9cd2454a08413ca93d0d930259a512"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga013a534f0c8c386429c5cfb9c513f114"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga013a534f0c8c386429c5cfb9c513f114">XCANPS_TXFIFO_DW2_OFFSET</a>&#160;&#160;&#160;0x0000003CU</td></tr>
<tr class="memdesc:ga013a534f0c8c386429c5cfb9c513f114"><td class="mdescLeft">&#160;</td><td class="mdescRight">TX FIFO Data Word 2.  <a href="#ga013a534f0c8c386429c5cfb9c513f114">More...</a><br /></td></tr>
<tr class="separator:ga013a534f0c8c386429c5cfb9c513f114"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5c6477d3dc9fa44898e0c45848784fd3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga5c6477d3dc9fa44898e0c45848784fd3">XCANPS_TXHPB_ID_OFFSET</a>&#160;&#160;&#160;0x00000040U</td></tr>
<tr class="memdesc:ga5c6477d3dc9fa44898e0c45848784fd3"><td class="mdescLeft">&#160;</td><td class="mdescRight">TX High Priority Buffer ID.  <a href="#ga5c6477d3dc9fa44898e0c45848784fd3">More...</a><br /></td></tr>
<tr class="separator:ga5c6477d3dc9fa44898e0c45848784fd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga77cb2726abe4719e42371b4925de121c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga77cb2726abe4719e42371b4925de121c">XCANPS_TXHPB_DLC_OFFSET</a>&#160;&#160;&#160;0x00000044U</td></tr>
<tr class="memdesc:ga77cb2726abe4719e42371b4925de121c"><td class="mdescLeft">&#160;</td><td class="mdescRight">TX High Priority Buffer DLC.  <a href="#ga77cb2726abe4719e42371b4925de121c">More...</a><br /></td></tr>
<tr class="separator:ga77cb2726abe4719e42371b4925de121c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga69e8639d7e62a61f25cff6be0637bee2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga69e8639d7e62a61f25cff6be0637bee2">XCANPS_TXHPB_DW1_OFFSET</a>&#160;&#160;&#160;0x00000048U</td></tr>
<tr class="memdesc:ga69e8639d7e62a61f25cff6be0637bee2"><td class="mdescLeft">&#160;</td><td class="mdescRight">TX High Priority Buf Data 1.  <a href="#ga69e8639d7e62a61f25cff6be0637bee2">More...</a><br /></td></tr>
<tr class="separator:ga69e8639d7e62a61f25cff6be0637bee2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga44b907a14b92140955ab6a16fe0264d8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga44b907a14b92140955ab6a16fe0264d8">XCANPS_TXHPB_DW2_OFFSET</a>&#160;&#160;&#160;0x0000004CU</td></tr>
<tr class="memdesc:ga44b907a14b92140955ab6a16fe0264d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">TX High Priority Buf Data Word 2.  <a href="#ga44b907a14b92140955ab6a16fe0264d8">More...</a><br /></td></tr>
<tr class="separator:ga44b907a14b92140955ab6a16fe0264d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1e35a066151075f0f6b1fc6fa826db87"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga1e35a066151075f0f6b1fc6fa826db87">XCANPS_RXFIFO_ID_OFFSET</a>&#160;&#160;&#160;0x00000050U</td></tr>
<tr class="memdesc:ga1e35a066151075f0f6b1fc6fa826db87"><td class="mdescLeft">&#160;</td><td class="mdescRight">RX FIFO ID.  <a href="#ga1e35a066151075f0f6b1fc6fa826db87">More...</a><br /></td></tr>
<tr class="separator:ga1e35a066151075f0f6b1fc6fa826db87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5df39d1c1c96a98151789ec1e4e75d97"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga5df39d1c1c96a98151789ec1e4e75d97">XCANPS_RXFIFO_DLC_OFFSET</a>&#160;&#160;&#160;0x00000054U</td></tr>
<tr class="memdesc:ga5df39d1c1c96a98151789ec1e4e75d97"><td class="mdescLeft">&#160;</td><td class="mdescRight">RX FIFO DLC.  <a href="#ga5df39d1c1c96a98151789ec1e4e75d97">More...</a><br /></td></tr>
<tr class="separator:ga5df39d1c1c96a98151789ec1e4e75d97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab81486ca8fa93c5e000320dada489d42"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gab81486ca8fa93c5e000320dada489d42">XCANPS_RXFIFO_DW1_OFFSET</a>&#160;&#160;&#160;0x00000058U</td></tr>
<tr class="memdesc:gab81486ca8fa93c5e000320dada489d42"><td class="mdescLeft">&#160;</td><td class="mdescRight">RX FIFO Data Word 1.  <a href="#gab81486ca8fa93c5e000320dada489d42">More...</a><br /></td></tr>
<tr class="separator:gab81486ca8fa93c5e000320dada489d42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf0b0033445dd41c7d603fb27b2f0bf49"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gaf0b0033445dd41c7d603fb27b2f0bf49">XCANPS_RXFIFO_DW2_OFFSET</a>&#160;&#160;&#160;0x0000005CU</td></tr>
<tr class="memdesc:gaf0b0033445dd41c7d603fb27b2f0bf49"><td class="mdescLeft">&#160;</td><td class="mdescRight">RX FIFO Data Word 2.  <a href="#gaf0b0033445dd41c7d603fb27b2f0bf49">More...</a><br /></td></tr>
<tr class="separator:gaf0b0033445dd41c7d603fb27b2f0bf49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8525441daf41ee14d7d27f23408861e4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga8525441daf41ee14d7d27f23408861e4">XCANPS_AFR_OFFSET</a>&#160;&#160;&#160;0x00000060U</td></tr>
<tr class="memdesc:ga8525441daf41ee14d7d27f23408861e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Acceptance Filter Register.  <a href="#ga8525441daf41ee14d7d27f23408861e4">More...</a><br /></td></tr>
<tr class="separator:ga8525441daf41ee14d7d27f23408861e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6a46ac3e01263720489d12d2434f8da6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga6a46ac3e01263720489d12d2434f8da6">XCANPS_AFMR1_OFFSET</a>&#160;&#160;&#160;0x00000064U</td></tr>
<tr class="memdesc:ga6a46ac3e01263720489d12d2434f8da6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Acceptance Filter Mask 1.  <a href="#ga6a46ac3e01263720489d12d2434f8da6">More...</a><br /></td></tr>
<tr class="separator:ga6a46ac3e01263720489d12d2434f8da6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0276ddb753573f4e0e7e13a5fa67b2c8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga0276ddb753573f4e0e7e13a5fa67b2c8">XCANPS_AFIR1_OFFSET</a>&#160;&#160;&#160;0x00000068U</td></tr>
<tr class="memdesc:ga0276ddb753573f4e0e7e13a5fa67b2c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Acceptance Filter ID 1.  <a href="#ga0276ddb753573f4e0e7e13a5fa67b2c8">More...</a><br /></td></tr>
<tr class="separator:ga0276ddb753573f4e0e7e13a5fa67b2c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeb3aa3cbaec57000d6277186cec0d9bc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gaeb3aa3cbaec57000d6277186cec0d9bc">XCANPS_AFMR2_OFFSET</a>&#160;&#160;&#160;0x0000006CU</td></tr>
<tr class="memdesc:gaeb3aa3cbaec57000d6277186cec0d9bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Acceptance Filter Mask 2.  <a href="#gaeb3aa3cbaec57000d6277186cec0d9bc">More...</a><br /></td></tr>
<tr class="separator:gaeb3aa3cbaec57000d6277186cec0d9bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4c3499a588eaaf69085cc430ebb307d4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga4c3499a588eaaf69085cc430ebb307d4">XCANPS_AFIR2_OFFSET</a>&#160;&#160;&#160;0x00000070U</td></tr>
<tr class="memdesc:ga4c3499a588eaaf69085cc430ebb307d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Acceptance Filter ID 2.  <a href="#ga4c3499a588eaaf69085cc430ebb307d4">More...</a><br /></td></tr>
<tr class="separator:ga4c3499a588eaaf69085cc430ebb307d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7e207d923ee0ac71efb22f54e1026189"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga7e207d923ee0ac71efb22f54e1026189">XCANPS_AFMR3_OFFSET</a>&#160;&#160;&#160;0x00000074U</td></tr>
<tr class="memdesc:ga7e207d923ee0ac71efb22f54e1026189"><td class="mdescLeft">&#160;</td><td class="mdescRight">Acceptance Filter Mask 3.  <a href="#ga7e207d923ee0ac71efb22f54e1026189">More...</a><br /></td></tr>
<tr class="separator:ga7e207d923ee0ac71efb22f54e1026189"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3ccf7c7b51e73147c839cf304434e197"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga3ccf7c7b51e73147c839cf304434e197">XCANPS_AFIR3_OFFSET</a>&#160;&#160;&#160;0x00000078U</td></tr>
<tr class="memdesc:ga3ccf7c7b51e73147c839cf304434e197"><td class="mdescLeft">&#160;</td><td class="mdescRight">Acceptance Filter ID 3.  <a href="#ga3ccf7c7b51e73147c839cf304434e197">More...</a><br /></td></tr>
<tr class="separator:ga3ccf7c7b51e73147c839cf304434e197"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaebde5cf5bdaa29b3701b33609a4416c0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gaebde5cf5bdaa29b3701b33609a4416c0">XCANPS_AFMR4_OFFSET</a>&#160;&#160;&#160;0x0000007CU</td></tr>
<tr class="memdesc:gaebde5cf5bdaa29b3701b33609a4416c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Acceptance Filter Mask 4.  <a href="#gaebde5cf5bdaa29b3701b33609a4416c0">More...</a><br /></td></tr>
<tr class="separator:gaebde5cf5bdaa29b3701b33609a4416c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0df09bfd99ee8271149cd25cc0cde463"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga0df09bfd99ee8271149cd25cc0cde463">XCANPS_AFIR4_OFFSET</a>&#160;&#160;&#160;0x00000080U</td></tr>
<tr class="memdesc:ga0df09bfd99ee8271149cd25cc0cde463"><td class="mdescLeft">&#160;</td><td class="mdescRight">Acceptance Filter ID 4.  <a href="#ga0df09bfd99ee8271149cd25cc0cde463">More...</a><br /></td></tr>
<tr class="separator:ga0df09bfd99ee8271149cd25cc0cde463"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Software Reset Register (SRR) Bit Definitions and Masks</h2></td></tr>
<tr class="memitem:gaa8660e9bf0230cccd37ef328184411ca"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gaa8660e9bf0230cccd37ef328184411ca">XCANPS_SRR_CEN_MASK</a>&#160;&#160;&#160;0x00000002U</td></tr>
<tr class="memdesc:gaa8660e9bf0230cccd37ef328184411ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Can Enable.  <a href="#gaa8660e9bf0230cccd37ef328184411ca">More...</a><br /></td></tr>
<tr class="separator:gaa8660e9bf0230cccd37ef328184411ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4f344431790c6daf1fa330afdafa0bb6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga4f344431790c6daf1fa330afdafa0bb6">XCANPS_SRR_SRST_MASK</a>&#160;&#160;&#160;0x00000001U</td></tr>
<tr class="memdesc:ga4f344431790c6daf1fa330afdafa0bb6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset.  <a href="#ga4f344431790c6daf1fa330afdafa0bb6">More...</a><br /></td></tr>
<tr class="separator:ga4f344431790c6daf1fa330afdafa0bb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Mode Select Register (MSR) Bit Definitions and Masks</h2></td></tr>
<tr class="memitem:ga68373b2f799e7da7d8c508ebcd1dc4f7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga68373b2f799e7da7d8c508ebcd1dc4f7">XCANPS_MSR_SNOOP_MASK</a>&#160;&#160;&#160;0x00000004U</td></tr>
<tr class="memdesc:ga68373b2f799e7da7d8c508ebcd1dc4f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Snoop Mode Select.  <a href="#ga68373b2f799e7da7d8c508ebcd1dc4f7">More...</a><br /></td></tr>
<tr class="separator:ga68373b2f799e7da7d8c508ebcd1dc4f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga860c6a31f77ddf683c86b8001bdf67e7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga860c6a31f77ddf683c86b8001bdf67e7">XCANPS_MSR_LBACK_MASK</a>&#160;&#160;&#160;0x00000002U</td></tr>
<tr class="memdesc:ga860c6a31f77ddf683c86b8001bdf67e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loop Back Mode Select.  <a href="#ga860c6a31f77ddf683c86b8001bdf67e7">More...</a><br /></td></tr>
<tr class="separator:ga860c6a31f77ddf683c86b8001bdf67e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf36c6eced1dfccdfc5729e56795b5ee5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gaf36c6eced1dfccdfc5729e56795b5ee5">XCANPS_MSR_SLEEP_MASK</a>&#160;&#160;&#160;0x00000001U</td></tr>
<tr class="memdesc:gaf36c6eced1dfccdfc5729e56795b5ee5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sleep Mode Select.  <a href="#gaf36c6eced1dfccdfc5729e56795b5ee5">More...</a><br /></td></tr>
<tr class="separator:gaf36c6eced1dfccdfc5729e56795b5ee5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Baud Rate Prescaler register (BRPR) Bit Definitions and Masks</h2></td></tr>
<tr class="memitem:ga94395d3db59f8f9ecbfea9daabe267fa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga94395d3db59f8f9ecbfea9daabe267fa">XCANPS_BRPR_BRP_MASK</a>&#160;&#160;&#160;0x000000FFU</td></tr>
<tr class="memdesc:ga94395d3db59f8f9ecbfea9daabe267fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Baud Rate Prescaler.  <a href="#ga94395d3db59f8f9ecbfea9daabe267fa">More...</a><br /></td></tr>
<tr class="separator:ga94395d3db59f8f9ecbfea9daabe267fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Bit Timing Register (BTR) Bit Definitions and Masks</h2></td></tr>
<tr class="memitem:gab2fa448aceee2ee7380128f1f56ab76c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gab2fa448aceee2ee7380128f1f56ab76c">XCANPS_BTR_SJW_MASK</a>&#160;&#160;&#160;0x00000180U</td></tr>
<tr class="memdesc:gab2fa448aceee2ee7380128f1f56ab76c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Synchronization Jump Width.  <a href="#gab2fa448aceee2ee7380128f1f56ab76c">More...</a><br /></td></tr>
<tr class="separator:gab2fa448aceee2ee7380128f1f56ab76c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacef7d7d60affa993ff2a9ca913bef3ca"><td class="memItemLeft" align="right" valign="top"><a id="gacef7d7d60affa993ff2a9ca913bef3ca"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XCANPS_BTR_SJW_SHIFT</b>&#160;&#160;&#160;7U</td></tr>
<tr class="separator:gacef7d7d60affa993ff2a9ca913bef3ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac1d9027df8de8ce8fb521677251601aa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gac1d9027df8de8ce8fb521677251601aa">XCANPS_BTR_TS2_MASK</a>&#160;&#160;&#160;0x00000070U</td></tr>
<tr class="memdesc:gac1d9027df8de8ce8fb521677251601aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Time Segment 2.  <a href="#gac1d9027df8de8ce8fb521677251601aa">More...</a><br /></td></tr>
<tr class="separator:gac1d9027df8de8ce8fb521677251601aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1c1d508084a512e4f62a8a7376c396e6"><td class="memItemLeft" align="right" valign="top"><a id="ga1c1d508084a512e4f62a8a7376c396e6"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XCANPS_BTR_TS2_SHIFT</b>&#160;&#160;&#160;4U</td></tr>
<tr class="separator:ga1c1d508084a512e4f62a8a7376c396e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa00268720875bafc99c8bb93d8d1094e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gaa00268720875bafc99c8bb93d8d1094e">XCANPS_BTR_TS1_MASK</a>&#160;&#160;&#160;0x0000000FU</td></tr>
<tr class="memdesc:gaa00268720875bafc99c8bb93d8d1094e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Time Segment 1.  <a href="#gaa00268720875bafc99c8bb93d8d1094e">More...</a><br /></td></tr>
<tr class="separator:gaa00268720875bafc99c8bb93d8d1094e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Error Counter Register (ECR) Bit Definitions and Masks</h2></td></tr>
<tr class="memitem:ga431d070fafedc970ffbd0b4332aece9e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga431d070fafedc970ffbd0b4332aece9e">XCANPS_ECR_REC_MASK</a>&#160;&#160;&#160;0x0000FF00U</td></tr>
<tr class="memdesc:ga431d070fafedc970ffbd0b4332aece9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Receive Error Counter.  <a href="#ga431d070fafedc970ffbd0b4332aece9e">More...</a><br /></td></tr>
<tr class="separator:ga431d070fafedc970ffbd0b4332aece9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8d881e7ccf954df2f22ddf66b9edc6fb"><td class="memItemLeft" align="right" valign="top"><a id="ga8d881e7ccf954df2f22ddf66b9edc6fb"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XCANPS_ECR_REC_SHIFT</b>&#160;&#160;&#160;8U</td></tr>
<tr class="separator:ga8d881e7ccf954df2f22ddf66b9edc6fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga978194cae1bbb8c72bbf5606bbcb95fb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga978194cae1bbb8c72bbf5606bbcb95fb">XCANPS_ECR_TEC_MASK</a>&#160;&#160;&#160;0x000000FFU</td></tr>
<tr class="memdesc:ga978194cae1bbb8c72bbf5606bbcb95fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transmit Error Counter.  <a href="#ga978194cae1bbb8c72bbf5606bbcb95fb">More...</a><br /></td></tr>
<tr class="separator:ga978194cae1bbb8c72bbf5606bbcb95fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Error Status Register (ESR) Bit Definitions and Masks</h2></td></tr>
<tr class="memitem:ga5bcb1b889c3e08833d9e043372b183e4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga5bcb1b889c3e08833d9e043372b183e4">XCANPS_ESR_ACKER_MASK</a>&#160;&#160;&#160;0x00000010U</td></tr>
<tr class="memdesc:ga5bcb1b889c3e08833d9e043372b183e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">ACK Error.  <a href="#ga5bcb1b889c3e08833d9e043372b183e4">More...</a><br /></td></tr>
<tr class="separator:ga5bcb1b889c3e08833d9e043372b183e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga89a98d7041f10767396ae048179a3b89"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga89a98d7041f10767396ae048179a3b89">XCANPS_ESR_BERR_MASK</a>&#160;&#160;&#160;0x00000008U</td></tr>
<tr class="memdesc:ga89a98d7041f10767396ae048179a3b89"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bit Error.  <a href="#ga89a98d7041f10767396ae048179a3b89">More...</a><br /></td></tr>
<tr class="separator:ga89a98d7041f10767396ae048179a3b89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabf556c44e2049c14c39d735be4b6e810"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gabf556c44e2049c14c39d735be4b6e810">XCANPS_ESR_STER_MASK</a>&#160;&#160;&#160;0x00000004U</td></tr>
<tr class="memdesc:gabf556c44e2049c14c39d735be4b6e810"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stuff Error.  <a href="#gabf556c44e2049c14c39d735be4b6e810">More...</a><br /></td></tr>
<tr class="separator:gabf556c44e2049c14c39d735be4b6e810"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9f8e78fa8cf400ca661beb1a23feb95e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga9f8e78fa8cf400ca661beb1a23feb95e">XCANPS_ESR_FMER_MASK</a>&#160;&#160;&#160;0x00000002U</td></tr>
<tr class="memdesc:ga9f8e78fa8cf400ca661beb1a23feb95e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Form Error.  <a href="#ga9f8e78fa8cf400ca661beb1a23feb95e">More...</a><br /></td></tr>
<tr class="separator:ga9f8e78fa8cf400ca661beb1a23feb95e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadabf3de36b51ec7f67d520625cec08c4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gadabf3de36b51ec7f67d520625cec08c4">XCANPS_ESR_CRCER_MASK</a>&#160;&#160;&#160;0x00000001U</td></tr>
<tr class="memdesc:gadabf3de36b51ec7f67d520625cec08c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">CRC Error.  <a href="#gadabf3de36b51ec7f67d520625cec08c4">More...</a><br /></td></tr>
<tr class="separator:gadabf3de36b51ec7f67d520625cec08c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Status Register (SR) Bit Definitions and Masks</h2></td></tr>
<tr class="memitem:ga94ac17fbb55d32c3b00cd9209240b99e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga94ac17fbb55d32c3b00cd9209240b99e">XCANPS_SR_SNOOP_MASK</a>&#160;&#160;&#160;0x00001000U</td></tr>
<tr class="memdesc:ga94ac17fbb55d32c3b00cd9209240b99e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Snoop Mask.  <a href="#ga94ac17fbb55d32c3b00cd9209240b99e">More...</a><br /></td></tr>
<tr class="separator:ga94ac17fbb55d32c3b00cd9209240b99e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga395ca492e1b1699df527987b3d1b5982"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga395ca492e1b1699df527987b3d1b5982">XCANPS_SR_ACFBSY_MASK</a>&#160;&#160;&#160;0x00000800U</td></tr>
<tr class="memdesc:ga395ca492e1b1699df527987b3d1b5982"><td class="mdescLeft">&#160;</td><td class="mdescRight">Acceptance Filter busy.  <a href="#ga395ca492e1b1699df527987b3d1b5982">More...</a><br /></td></tr>
<tr class="separator:ga395ca492e1b1699df527987b3d1b5982"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad9255c34d0981002d1b06825ba872c53"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gad9255c34d0981002d1b06825ba872c53">XCANPS_SR_TXFLL_MASK</a>&#160;&#160;&#160;0x00000400U</td></tr>
<tr class="memdesc:gad9255c34d0981002d1b06825ba872c53"><td class="mdescLeft">&#160;</td><td class="mdescRight">TX FIFO is full.  <a href="#gad9255c34d0981002d1b06825ba872c53">More...</a><br /></td></tr>
<tr class="separator:gad9255c34d0981002d1b06825ba872c53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1785ab9ad6f36795a567d7503afda2b8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga1785ab9ad6f36795a567d7503afda2b8">XCANPS_SR_TXBFLL_MASK</a>&#160;&#160;&#160;0x00000200U</td></tr>
<tr class="memdesc:ga1785ab9ad6f36795a567d7503afda2b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">TX High Priority Buffer full.  <a href="#ga1785ab9ad6f36795a567d7503afda2b8">More...</a><br /></td></tr>
<tr class="separator:ga1785ab9ad6f36795a567d7503afda2b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga30d3e067e1af42eb938703bd67dcd44f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga30d3e067e1af42eb938703bd67dcd44f">XCANPS_SR_ESTAT_MASK</a>&#160;&#160;&#160;0x00000180U</td></tr>
<tr class="memdesc:ga30d3e067e1af42eb938703bd67dcd44f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Error Status.  <a href="#ga30d3e067e1af42eb938703bd67dcd44f">More...</a><br /></td></tr>
<tr class="separator:ga30d3e067e1af42eb938703bd67dcd44f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8a7040d6bc97c1a14d3e0202938cd2eb"><td class="memItemLeft" align="right" valign="top"><a id="ga8a7040d6bc97c1a14d3e0202938cd2eb"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XCANPS_SR_ESTAT_SHIFT</b>&#160;&#160;&#160;7U</td></tr>
<tr class="separator:ga8a7040d6bc97c1a14d3e0202938cd2eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4458d7f97a53daf578629a72116ef6b0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga4458d7f97a53daf578629a72116ef6b0">XCANPS_SR_ERRWRN_MASK</a>&#160;&#160;&#160;0x00000040U</td></tr>
<tr class="memdesc:ga4458d7f97a53daf578629a72116ef6b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Error Warning.  <a href="#ga4458d7f97a53daf578629a72116ef6b0">More...</a><br /></td></tr>
<tr class="separator:ga4458d7f97a53daf578629a72116ef6b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1fed347617a45fbd4aed22079e84e60c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga1fed347617a45fbd4aed22079e84e60c">XCANPS_SR_BBSY_MASK</a>&#160;&#160;&#160;0x00000020U</td></tr>
<tr class="memdesc:ga1fed347617a45fbd4aed22079e84e60c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bus Busy.  <a href="#ga1fed347617a45fbd4aed22079e84e60c">More...</a><br /></td></tr>
<tr class="separator:ga1fed347617a45fbd4aed22079e84e60c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1e46e3e1025b91629fd927a10d9790ba"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga1e46e3e1025b91629fd927a10d9790ba">XCANPS_SR_BIDLE_MASK</a>&#160;&#160;&#160;0x00000010U</td></tr>
<tr class="memdesc:ga1e46e3e1025b91629fd927a10d9790ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bus Idle.  <a href="#ga1e46e3e1025b91629fd927a10d9790ba">More...</a><br /></td></tr>
<tr class="separator:ga1e46e3e1025b91629fd927a10d9790ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6431dce1e634178247a140c6635597e4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga6431dce1e634178247a140c6635597e4">XCANPS_SR_NORMAL_MASK</a>&#160;&#160;&#160;0x00000008U</td></tr>
<tr class="memdesc:ga6431dce1e634178247a140c6635597e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Normal Mode.  <a href="#ga6431dce1e634178247a140c6635597e4">More...</a><br /></td></tr>
<tr class="separator:ga6431dce1e634178247a140c6635597e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5c19dc6a17f0d0d01e89fd1d667ed335"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga5c19dc6a17f0d0d01e89fd1d667ed335">XCANPS_SR_SLEEP_MASK</a>&#160;&#160;&#160;0x00000004U</td></tr>
<tr class="memdesc:ga5c19dc6a17f0d0d01e89fd1d667ed335"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sleep Mode.  <a href="#ga5c19dc6a17f0d0d01e89fd1d667ed335">More...</a><br /></td></tr>
<tr class="separator:ga5c19dc6a17f0d0d01e89fd1d667ed335"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaaad1372ab538abe678de61e874d2031"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gaaaad1372ab538abe678de61e874d2031">XCANPS_SR_LBACK_MASK</a>&#160;&#160;&#160;0x00000002U</td></tr>
<tr class="memdesc:gaaaad1372ab538abe678de61e874d2031"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loop Back Mode.  <a href="#gaaaad1372ab538abe678de61e874d2031">More...</a><br /></td></tr>
<tr class="separator:gaaaad1372ab538abe678de61e874d2031"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga370aed28013318d6fccaddb6c39dd8f4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga370aed28013318d6fccaddb6c39dd8f4">XCANPS_SR_CONFIG_MASK</a>&#160;&#160;&#160;0x00000001U</td></tr>
<tr class="memdesc:ga370aed28013318d6fccaddb6c39dd8f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configuration Mode.  <a href="#ga370aed28013318d6fccaddb6c39dd8f4">More...</a><br /></td></tr>
<tr class="separator:ga370aed28013318d6fccaddb6c39dd8f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Interrupt Status/Enable/Clear Register Bit Definitions and Masks</h2></td></tr>
<tr class="memitem:gaae5de1da0ece29ccfca9d884c55b9bf8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gaae5de1da0ece29ccfca9d884c55b9bf8">XCANPS_IXR_TXFEMP_MASK</a>&#160;&#160;&#160;0x00004000U</td></tr>
<tr class="memdesc:gaae5de1da0ece29ccfca9d884c55b9bf8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tx Fifo Empty Interrupt.  <a href="#gaae5de1da0ece29ccfca9d884c55b9bf8">More...</a><br /></td></tr>
<tr class="separator:gaae5de1da0ece29ccfca9d884c55b9bf8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae0079b661baab2a690b6beab2e259e86"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gae0079b661baab2a690b6beab2e259e86">XCANPS_IXR_TXFWMEMP_MASK</a>&#160;&#160;&#160;0x00002000U</td></tr>
<tr class="memdesc:gae0079b661baab2a690b6beab2e259e86"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tx Fifo Watermark Empty.  <a href="#gae0079b661baab2a690b6beab2e259e86">More...</a><br /></td></tr>
<tr class="separator:gae0079b661baab2a690b6beab2e259e86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafe154f7d522c1a8e7e26f20d1e8df897"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gafe154f7d522c1a8e7e26f20d1e8df897">XCANPS_IXR_RXFWMFLL_MASK</a>&#160;&#160;&#160;0x00001000U</td></tr>
<tr class="memdesc:gafe154f7d522c1a8e7e26f20d1e8df897"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rx FIFO Watermark Full.  <a href="#gafe154f7d522c1a8e7e26f20d1e8df897">More...</a><br /></td></tr>
<tr class="separator:gafe154f7d522c1a8e7e26f20d1e8df897"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa85aec590359fff45d33d12edb43d1fd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gaa85aec590359fff45d33d12edb43d1fd">XCANPS_IXR_WKUP_MASK</a>&#160;&#160;&#160;0x00000800U</td></tr>
<tr class="memdesc:gaa85aec590359fff45d33d12edb43d1fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Wake up Interrupt.  <a href="#gaa85aec590359fff45d33d12edb43d1fd">More...</a><br /></td></tr>
<tr class="separator:gaa85aec590359fff45d33d12edb43d1fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga83a79d0a328234c542de4a6a0615791c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga83a79d0a328234c542de4a6a0615791c">XCANPS_IXR_SLP_MASK</a>&#160;&#160;&#160;0x00000400U</td></tr>
<tr class="memdesc:ga83a79d0a328234c542de4a6a0615791c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sleep Interrupt.  <a href="#ga83a79d0a328234c542de4a6a0615791c">More...</a><br /></td></tr>
<tr class="separator:ga83a79d0a328234c542de4a6a0615791c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga438360dd41b95c4e5794ed038e311cf1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga438360dd41b95c4e5794ed038e311cf1">XCANPS_IXR_BSOFF_MASK</a>&#160;&#160;&#160;0x00000200U</td></tr>
<tr class="memdesc:ga438360dd41b95c4e5794ed038e311cf1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bus Off Interrupt.  <a href="#ga438360dd41b95c4e5794ed038e311cf1">More...</a><br /></td></tr>
<tr class="separator:ga438360dd41b95c4e5794ed038e311cf1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5f8ec6f644bc0212dce402d138716aa4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga5f8ec6f644bc0212dce402d138716aa4">XCANPS_IXR_ERROR_MASK</a>&#160;&#160;&#160;0x00000100U</td></tr>
<tr class="memdesc:ga5f8ec6f644bc0212dce402d138716aa4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Error Interrupt.  <a href="#ga5f8ec6f644bc0212dce402d138716aa4">More...</a><br /></td></tr>
<tr class="separator:ga5f8ec6f644bc0212dce402d138716aa4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga63bd136fc25bca2796bce56d60a31ea6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga63bd136fc25bca2796bce56d60a31ea6">XCANPS_IXR_RXNEMP_MASK</a>&#160;&#160;&#160;0x00000080U</td></tr>
<tr class="memdesc:ga63bd136fc25bca2796bce56d60a31ea6"><td class="mdescLeft">&#160;</td><td class="mdescRight">RX FIFO Not Empty Interrupt.  <a href="#ga63bd136fc25bca2796bce56d60a31ea6">More...</a><br /></td></tr>
<tr class="separator:ga63bd136fc25bca2796bce56d60a31ea6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga380edfd096c837c735e9f50fcae4bd89"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga380edfd096c837c735e9f50fcae4bd89">XCANPS_IXR_RXOFLW_MASK</a>&#160;&#160;&#160;0x00000040U</td></tr>
<tr class="memdesc:ga380edfd096c837c735e9f50fcae4bd89"><td class="mdescLeft">&#160;</td><td class="mdescRight">RX FIFO Overflow Interrupt.  <a href="#ga380edfd096c837c735e9f50fcae4bd89">More...</a><br /></td></tr>
<tr class="separator:ga380edfd096c837c735e9f50fcae4bd89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadb093abe285ffcc4acfbe92175a9ff3c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gadb093abe285ffcc4acfbe92175a9ff3c">XCANPS_IXR_RXUFLW_MASK</a>&#160;&#160;&#160;0x00000020U</td></tr>
<tr class="memdesc:gadb093abe285ffcc4acfbe92175a9ff3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">RX FIFO Underflow Interrupt.  <a href="#gadb093abe285ffcc4acfbe92175a9ff3c">More...</a><br /></td></tr>
<tr class="separator:gadb093abe285ffcc4acfbe92175a9ff3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga68430463f29b1d8df291a50883f643ac"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga68430463f29b1d8df291a50883f643ac">XCANPS_IXR_RXOK_MASK</a>&#160;&#160;&#160;0x00000010U</td></tr>
<tr class="memdesc:ga68430463f29b1d8df291a50883f643ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">New Message Received Intr.  <a href="#ga68430463f29b1d8df291a50883f643ac">More...</a><br /></td></tr>
<tr class="separator:ga68430463f29b1d8df291a50883f643ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8ac7090cc527801acbb5209a75265072"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga8ac7090cc527801acbb5209a75265072">XCANPS_IXR_TXBFLL_MASK</a>&#160;&#160;&#160;0x00000008U</td></tr>
<tr class="memdesc:ga8ac7090cc527801acbb5209a75265072"><td class="mdescLeft">&#160;</td><td class="mdescRight">TX High Priority Buf Full.  <a href="#ga8ac7090cc527801acbb5209a75265072">More...</a><br /></td></tr>
<tr class="separator:ga8ac7090cc527801acbb5209a75265072"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7ee9a029b99b8293db3aa66c34a1db7c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga7ee9a029b99b8293db3aa66c34a1db7c">XCANPS_IXR_TXFLL_MASK</a>&#160;&#160;&#160;0x00000004U</td></tr>
<tr class="memdesc:ga7ee9a029b99b8293db3aa66c34a1db7c"><td class="mdescLeft">&#160;</td><td class="mdescRight">TX FIFO Full Interrupt.  <a href="#ga7ee9a029b99b8293db3aa66c34a1db7c">More...</a><br /></td></tr>
<tr class="separator:ga7ee9a029b99b8293db3aa66c34a1db7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5270e4112cfc21e4a7ed8c168f2ccb10"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga5270e4112cfc21e4a7ed8c168f2ccb10">XCANPS_IXR_TXOK_MASK</a>&#160;&#160;&#160;0x00000002U</td></tr>
<tr class="memdesc:ga5270e4112cfc21e4a7ed8c168f2ccb10"><td class="mdescLeft">&#160;</td><td class="mdescRight">TX Successful Interrupt.  <a href="#ga5270e4112cfc21e4a7ed8c168f2ccb10">More...</a><br /></td></tr>
<tr class="separator:ga5270e4112cfc21e4a7ed8c168f2ccb10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4a9f40766aa79e63473f80e45d7a4cb2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga4a9f40766aa79e63473f80e45d7a4cb2">XCANPS_IXR_ARBLST_MASK</a>&#160;&#160;&#160;0x00000001U</td></tr>
<tr class="memdesc:ga4a9f40766aa79e63473f80e45d7a4cb2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Arbitration Lost Interrupt.  <a href="#ga4a9f40766aa79e63473f80e45d7a4cb2">More...</a><br /></td></tr>
<tr class="separator:ga4a9f40766aa79e63473f80e45d7a4cb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7e5dc6bddd01c5a2d54da6689c956be9"><td class="memItemLeft" align="right" valign="top"><a id="ga7e5dc6bddd01c5a2d54da6689c956be9"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XCANPS_IXR_ALL</b></td></tr>
<tr class="separator:ga7e5dc6bddd01c5a2d54da6689c956be9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
CAN Timestamp Control Register (TCR) Bit Definitions and Masks</h2></td></tr>
<tr class="memitem:ga73ebdb9f11b9c769acc0d2cdc085fdc7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga73ebdb9f11b9c769acc0d2cdc085fdc7">XCANPS_TCR_CTS_MASK</a>&#160;&#160;&#160;0x00000001U</td></tr>
<tr class="memdesc:ga73ebdb9f11b9c769acc0d2cdc085fdc7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear Timestamp counter mask.  <a href="#ga73ebdb9f11b9c769acc0d2cdc085fdc7">More...</a><br /></td></tr>
<tr class="separator:ga73ebdb9f11b9c769acc0d2cdc085fdc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
CAN Watermark Register (WIR) Bit Definitions and Masks</h2></td></tr>
<tr class="memitem:ga6d56baf5cc7a7eb6c54f3f2255e2291a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga6d56baf5cc7a7eb6c54f3f2255e2291a">XCANPS_WIR_FW_MASK</a>&#160;&#160;&#160;0x0000003FU</td></tr>
<tr class="memdesc:ga6d56baf5cc7a7eb6c54f3f2255e2291a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rx Full Threshold mask.  <a href="#ga6d56baf5cc7a7eb6c54f3f2255e2291a">More...</a><br /></td></tr>
<tr class="separator:ga6d56baf5cc7a7eb6c54f3f2255e2291a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga47696ac14c38ae7091315ac7fb52c5c6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga47696ac14c38ae7091315ac7fb52c5c6">XCANPS_WIR_EW_MASK</a>&#160;&#160;&#160;0x00003F00U</td></tr>
<tr class="memdesc:ga47696ac14c38ae7091315ac7fb52c5c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tx Empty Threshold mask.  <a href="#ga47696ac14c38ae7091315ac7fb52c5c6">More...</a><br /></td></tr>
<tr class="separator:ga47696ac14c38ae7091315ac7fb52c5c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2e6e7ab6cde78ab992a1084ec540ac68"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga2e6e7ab6cde78ab992a1084ec540ac68">XCANPS_WIR_EW_SHIFT</a>&#160;&#160;&#160;0x00000008U</td></tr>
<tr class="memdesc:ga2e6e7ab6cde78ab992a1084ec540ac68"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tx Empty Threshold shift.  <a href="#ga2e6e7ab6cde78ab992a1084ec540ac68">More...</a><br /></td></tr>
<tr class="separator:ga2e6e7ab6cde78ab992a1084ec540ac68"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
CAN Frame Identifier (TX High Priority Buffer/TX/RX/Acceptance Filter</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrp2f4b9e576e221a1e0132c06d118573e7"></a>Mask/Acceptance Filter ID) </p>
</td></tr>
<tr class="memitem:ga03c570854310ffd7198a240aa3e5b450"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga03c570854310ffd7198a240aa3e5b450">XCANPS_IDR_ID1_MASK</a>&#160;&#160;&#160;0xFFE00000U</td></tr>
<tr class="memdesc:ga03c570854310ffd7198a240aa3e5b450"><td class="mdescLeft">&#160;</td><td class="mdescRight">Standard Messg Identifier.  <a href="#ga03c570854310ffd7198a240aa3e5b450">More...</a><br /></td></tr>
<tr class="separator:ga03c570854310ffd7198a240aa3e5b450"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4941ee8f7d5736d356d6ab633a0ddcbb"><td class="memItemLeft" align="right" valign="top"><a id="ga4941ee8f7d5736d356d6ab633a0ddcbb"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XCANPS_IDR_ID1_SHIFT</b>&#160;&#160;&#160;21U</td></tr>
<tr class="separator:ga4941ee8f7d5736d356d6ab633a0ddcbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad77824652aaf9b68e9031e4c1ab52e08"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gad77824652aaf9b68e9031e4c1ab52e08">XCANPS_IDR_SRR_MASK</a>&#160;&#160;&#160;0x00100000U</td></tr>
<tr class="memdesc:gad77824652aaf9b68e9031e4c1ab52e08"><td class="mdescLeft">&#160;</td><td class="mdescRight">Substitute Remote TX Req.  <a href="#gad77824652aaf9b68e9031e4c1ab52e08">More...</a><br /></td></tr>
<tr class="separator:gad77824652aaf9b68e9031e4c1ab52e08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab747ed0dcfb5a078a77c4b192bbb05fb"><td class="memItemLeft" align="right" valign="top"><a id="gab747ed0dcfb5a078a77c4b192bbb05fb"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XCANPS_IDR_SRR_SHIFT</b>&#160;&#160;&#160;20U</td></tr>
<tr class="separator:gab747ed0dcfb5a078a77c4b192bbb05fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae6a7ad9f02cb2b57195783ced2dff986"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gae6a7ad9f02cb2b57195783ced2dff986">XCANPS_IDR_IDE_MASK</a>&#160;&#160;&#160;0x00080000U</td></tr>
<tr class="memdesc:gae6a7ad9f02cb2b57195783ced2dff986"><td class="mdescLeft">&#160;</td><td class="mdescRight">Identifier Extension.  <a href="#gae6a7ad9f02cb2b57195783ced2dff986">More...</a><br /></td></tr>
<tr class="separator:gae6a7ad9f02cb2b57195783ced2dff986"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga38afdb344a0ffc14fd74026903b48399"><td class="memItemLeft" align="right" valign="top"><a id="ga38afdb344a0ffc14fd74026903b48399"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XCANPS_IDR_IDE_SHIFT</b>&#160;&#160;&#160;19U</td></tr>
<tr class="separator:ga38afdb344a0ffc14fd74026903b48399"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga23de74a7d58119de9d629f830c28aa53"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga23de74a7d58119de9d629f830c28aa53">XCANPS_IDR_ID2_MASK</a>&#160;&#160;&#160;0x0007FFFEU</td></tr>
<tr class="memdesc:ga23de74a7d58119de9d629f830c28aa53"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extended Message Ident.  <a href="#ga23de74a7d58119de9d629f830c28aa53">More...</a><br /></td></tr>
<tr class="separator:ga23de74a7d58119de9d629f830c28aa53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf1f453f117b64787f8b2707e2e9ac510"><td class="memItemLeft" align="right" valign="top"><a id="gaf1f453f117b64787f8b2707e2e9ac510"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XCANPS_IDR_ID2_SHIFT</b>&#160;&#160;&#160;1U</td></tr>
<tr class="separator:gaf1f453f117b64787f8b2707e2e9ac510"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf7c18bde3aed08f7411934f977145cc8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gaf7c18bde3aed08f7411934f977145cc8">XCANPS_IDR_RTR_MASK</a>&#160;&#160;&#160;0x00000001U</td></tr>
<tr class="memdesc:gaf7c18bde3aed08f7411934f977145cc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Remote TX Request.  <a href="#gaf7c18bde3aed08f7411934f977145cc8">More...</a><br /></td></tr>
<tr class="separator:gaf7c18bde3aed08f7411934f977145cc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
CAN Frame Data Length Code (TX High Priority Buffer/TX/RX)</h2></td></tr>
<tr class="memitem:ga98d6f7c2e6040aed17c331ab39a52f60"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga98d6f7c2e6040aed17c331ab39a52f60">XCANPS_DLCR_DLC_MASK</a>&#160;&#160;&#160;0xF0000000U</td></tr>
<tr class="memdesc:ga98d6f7c2e6040aed17c331ab39a52f60"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data Length Code.  <a href="#ga98d6f7c2e6040aed17c331ab39a52f60">More...</a><br /></td></tr>
<tr class="separator:ga98d6f7c2e6040aed17c331ab39a52f60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad609eaa96de046faa06b2450792594d2"><td class="memItemLeft" align="right" valign="top"><a id="gad609eaa96de046faa06b2450792594d2"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XCANPS_DLCR_DLC_SHIFT</b>&#160;&#160;&#160;28U</td></tr>
<tr class="separator:gad609eaa96de046faa06b2450792594d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae2000262a11f01d0b8a890445292b95f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gae2000262a11f01d0b8a890445292b95f">XCANPS_DLCR_TIMESTAMP_MASK</a>&#160;&#160;&#160;0x0000FFFFU</td></tr>
<tr class="memdesc:gae2000262a11f01d0b8a890445292b95f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Timestamp Mask (Rx only)  <a href="#gae2000262a11f01d0b8a890445292b95f">More...</a><br /></td></tr>
<tr class="separator:gae2000262a11f01d0b8a890445292b95f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
CAN Frame Data Word 1 (TX High Priority Buffer/TX/RX)</h2></td></tr>
<tr class="memitem:gabfe44e5fafc88252567d9313d7b4ce94"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gabfe44e5fafc88252567d9313d7b4ce94">XCANPS_DW1R_DB0_MASK</a>&#160;&#160;&#160;0xFF000000U</td></tr>
<tr class="memdesc:gabfe44e5fafc88252567d9313d7b4ce94"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data Byte 0.  <a href="#gabfe44e5fafc88252567d9313d7b4ce94">More...</a><br /></td></tr>
<tr class="separator:gabfe44e5fafc88252567d9313d7b4ce94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga41a13316b9a1b674e86ac761e6b03de3"><td class="memItemLeft" align="right" valign="top"><a id="ga41a13316b9a1b674e86ac761e6b03de3"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XCANPS_DW1R_DB0_SHIFT</b>&#160;&#160;&#160;24U</td></tr>
<tr class="separator:ga41a13316b9a1b674e86ac761e6b03de3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga024e13e45dab4d19b67d8a15ddbb139e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga024e13e45dab4d19b67d8a15ddbb139e">XCANPS_DW1R_DB1_MASK</a>&#160;&#160;&#160;0x00FF0000U</td></tr>
<tr class="memdesc:ga024e13e45dab4d19b67d8a15ddbb139e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data Byte 1.  <a href="#ga024e13e45dab4d19b67d8a15ddbb139e">More...</a><br /></td></tr>
<tr class="separator:ga024e13e45dab4d19b67d8a15ddbb139e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gade1cf2207a65a7697c054b50e93fc300"><td class="memItemLeft" align="right" valign="top"><a id="gade1cf2207a65a7697c054b50e93fc300"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XCANPS_DW1R_DB1_SHIFT</b>&#160;&#160;&#160;16U</td></tr>
<tr class="separator:gade1cf2207a65a7697c054b50e93fc300"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9c0843860eb96f41e0a324185dc568ff"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga9c0843860eb96f41e0a324185dc568ff">XCANPS_DW1R_DB2_MASK</a>&#160;&#160;&#160;0x0000FF00U</td></tr>
<tr class="memdesc:ga9c0843860eb96f41e0a324185dc568ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data Byte 2.  <a href="#ga9c0843860eb96f41e0a324185dc568ff">More...</a><br /></td></tr>
<tr class="separator:ga9c0843860eb96f41e0a324185dc568ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaabb26c591b255e1c5d0cde9cd7555d68"><td class="memItemLeft" align="right" valign="top"><a id="gaabb26c591b255e1c5d0cde9cd7555d68"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XCANPS_DW1R_DB2_SHIFT</b>&#160;&#160;&#160;8U</td></tr>
<tr class="separator:gaabb26c591b255e1c5d0cde9cd7555d68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad3b91a27b6a7bbd6fcaf559851448d29"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gad3b91a27b6a7bbd6fcaf559851448d29">XCANPS_DW1R_DB3_MASK</a>&#160;&#160;&#160;0x000000FFU</td></tr>
<tr class="memdesc:gad3b91a27b6a7bbd6fcaf559851448d29"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data Byte 3.  <a href="#gad3b91a27b6a7bbd6fcaf559851448d29">More...</a><br /></td></tr>
<tr class="separator:gad3b91a27b6a7bbd6fcaf559851448d29"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
CAN Frame Data Word 2 (TX High Priority Buffer/TX/RX)</h2></td></tr>
<tr class="memitem:ga758ca7ff3994295f328f44ee77a8a4a9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga758ca7ff3994295f328f44ee77a8a4a9">XCANPS_DW2R_DB4_MASK</a>&#160;&#160;&#160;0xFF000000U</td></tr>
<tr class="memdesc:ga758ca7ff3994295f328f44ee77a8a4a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data Byte 4.  <a href="#ga758ca7ff3994295f328f44ee77a8a4a9">More...</a><br /></td></tr>
<tr class="separator:ga758ca7ff3994295f328f44ee77a8a4a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1b59b48427b11f88ce092aedadb19d09"><td class="memItemLeft" align="right" valign="top"><a id="ga1b59b48427b11f88ce092aedadb19d09"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XCANPS_DW2R_DB4_SHIFT</b>&#160;&#160;&#160;24U</td></tr>
<tr class="separator:ga1b59b48427b11f88ce092aedadb19d09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf30904663d3fb9139dddd22035abe323"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gaf30904663d3fb9139dddd22035abe323">XCANPS_DW2R_DB5_MASK</a>&#160;&#160;&#160;0x00FF0000U</td></tr>
<tr class="memdesc:gaf30904663d3fb9139dddd22035abe323"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data Byte 5.  <a href="#gaf30904663d3fb9139dddd22035abe323">More...</a><br /></td></tr>
<tr class="separator:gaf30904663d3fb9139dddd22035abe323"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga39b1a54a7891d3c2c39fdb026c58abf3"><td class="memItemLeft" align="right" valign="top"><a id="ga39b1a54a7891d3c2c39fdb026c58abf3"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XCANPS_DW2R_DB5_SHIFT</b>&#160;&#160;&#160;16U</td></tr>
<tr class="separator:ga39b1a54a7891d3c2c39fdb026c58abf3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga25a82b59a9f09988b49bca491c3a5577"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga25a82b59a9f09988b49bca491c3a5577">XCANPS_DW2R_DB6_MASK</a>&#160;&#160;&#160;0x0000FF00U</td></tr>
<tr class="memdesc:ga25a82b59a9f09988b49bca491c3a5577"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data Byte 6.  <a href="#ga25a82b59a9f09988b49bca491c3a5577">More...</a><br /></td></tr>
<tr class="separator:ga25a82b59a9f09988b49bca491c3a5577"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1f69e33ffd709c6056746b9e32328dd5"><td class="memItemLeft" align="right" valign="top"><a id="ga1f69e33ffd709c6056746b9e32328dd5"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XCANPS_DW2R_DB6_SHIFT</b>&#160;&#160;&#160;8U</td></tr>
<tr class="separator:ga1f69e33ffd709c6056746b9e32328dd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga43fb550275bf4ba6b672988096b6509d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga43fb550275bf4ba6b672988096b6509d">XCANPS_DW2R_DB7_MASK</a>&#160;&#160;&#160;0x000000FFU</td></tr>
<tr class="memdesc:ga43fb550275bf4ba6b672988096b6509d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data Byte 7.  <a href="#ga43fb550275bf4ba6b672988096b6509d">More...</a><br /></td></tr>
<tr class="separator:ga43fb550275bf4ba6b672988096b6509d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Acceptance Filter Register (AFR) Bit Definitions and Masks</h2></td></tr>
<tr class="memitem:ga5e43518568ed23a47adea5a9d16e5036"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga5e43518568ed23a47adea5a9d16e5036">XCANPS_AFR_UAF4_MASK</a>&#160;&#160;&#160;0x00000008U</td></tr>
<tr class="memdesc:ga5e43518568ed23a47adea5a9d16e5036"><td class="mdescLeft">&#160;</td><td class="mdescRight">Use Acceptance Filter No.4.  <a href="#ga5e43518568ed23a47adea5a9d16e5036">More...</a><br /></td></tr>
<tr class="separator:ga5e43518568ed23a47adea5a9d16e5036"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4a2436988a3530bb49220dc20dd878bd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga4a2436988a3530bb49220dc20dd878bd">XCANPS_AFR_UAF3_MASK</a>&#160;&#160;&#160;0x00000004U</td></tr>
<tr class="memdesc:ga4a2436988a3530bb49220dc20dd878bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Use Acceptance Filter No.3.  <a href="#ga4a2436988a3530bb49220dc20dd878bd">More...</a><br /></td></tr>
<tr class="separator:ga4a2436988a3530bb49220dc20dd878bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3ad179f930a2c29de945fabfddefc7d2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga3ad179f930a2c29de945fabfddefc7d2">XCANPS_AFR_UAF2_MASK</a>&#160;&#160;&#160;0x00000002U</td></tr>
<tr class="memdesc:ga3ad179f930a2c29de945fabfddefc7d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Use Acceptance Filter No.2.  <a href="#ga3ad179f930a2c29de945fabfddefc7d2">More...</a><br /></td></tr>
<tr class="separator:ga3ad179f930a2c29de945fabfddefc7d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabde095aa619a3485599cf97c2bca57b5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#gabde095aa619a3485599cf97c2bca57b5">XCANPS_AFR_UAF1_MASK</a>&#160;&#160;&#160;0x00000001U</td></tr>
<tr class="memdesc:gabde095aa619a3485599cf97c2bca57b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Use Acceptance Filter No.1.  <a href="#gabde095aa619a3485599cf97c2bca57b5">More...</a><br /></td></tr>
<tr class="separator:gabde095aa619a3485599cf97c2bca57b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadf814ffa617dee9d66af1c579fa06b64"><td class="memItemLeft" align="right" valign="top"><a id="gadf814ffa617dee9d66af1c579fa06b64"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XCANPS_AFR_UAF_ALL_MASK</b></td></tr>
<tr class="separator:gadf814ffa617dee9d66af1c579fa06b64"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
CAN frame length constants</h2></td></tr>
<tr class="memitem:ga87adc8cfc88e067c42ee749b5e59177a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__canps__v3__0.html#ga87adc8cfc88e067c42ee749b5e59177a">XCANPS_MAX_FRAME_SIZE</a>&#160;&#160;&#160;sizeof(u32)*16U</td></tr>
<tr class="memdesc:ga87adc8cfc88e067c42ee749b5e59177a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum CAN frame length in bytes.  <a href="#ga87adc8cfc88e067c42ee749b5e59177a">More...</a><br /></td></tr>
<tr class="separator:ga87adc8cfc88e067c42ee749b5e59177a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga0276ddb753573f4e0e7e13a5fa67b2c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0276ddb753573f4e0e7e13a5fa67b2c8">&#9670;&nbsp;</a></span>XCANPS_AFIR1_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_AFIR1_OFFSET&#160;&#160;&#160;0x00000068U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Acceptance Filter ID 1. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gaf2ac50558c7d926fed54329667d4aaca">XCanPs_AcceptFilterGet()</a>, and <a class="el" href="group__canps__v3__0.html#ga4de284fb96ea457b047c41fbd73ada44">XCanPs_AcceptFilterSet()</a>.</p>

</div>
</div>
<a id="ga4c3499a588eaaf69085cc430ebb307d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4c3499a588eaaf69085cc430ebb307d4">&#9670;&nbsp;</a></span>XCANPS_AFIR2_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_AFIR2_OFFSET&#160;&#160;&#160;0x00000070U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Acceptance Filter ID 2. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gaf2ac50558c7d926fed54329667d4aaca">XCanPs_AcceptFilterGet()</a>, and <a class="el" href="group__canps__v3__0.html#ga4de284fb96ea457b047c41fbd73ada44">XCanPs_AcceptFilterSet()</a>.</p>

</div>
</div>
<a id="ga3ccf7c7b51e73147c839cf304434e197"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3ccf7c7b51e73147c839cf304434e197">&#9670;&nbsp;</a></span>XCANPS_AFIR3_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_AFIR3_OFFSET&#160;&#160;&#160;0x00000078U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Acceptance Filter ID 3. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gaf2ac50558c7d926fed54329667d4aaca">XCanPs_AcceptFilterGet()</a>, and <a class="el" href="group__canps__v3__0.html#ga4de284fb96ea457b047c41fbd73ada44">XCanPs_AcceptFilterSet()</a>.</p>

</div>
</div>
<a id="ga0df09bfd99ee8271149cd25cc0cde463"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0df09bfd99ee8271149cd25cc0cde463">&#9670;&nbsp;</a></span>XCANPS_AFIR4_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_AFIR4_OFFSET&#160;&#160;&#160;0x00000080U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Acceptance Filter ID 4. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gaf2ac50558c7d926fed54329667d4aaca">XCanPs_AcceptFilterGet()</a>, and <a class="el" href="group__canps__v3__0.html#ga4de284fb96ea457b047c41fbd73ada44">XCanPs_AcceptFilterSet()</a>.</p>

</div>
</div>
<a id="ga6a46ac3e01263720489d12d2434f8da6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6a46ac3e01263720489d12d2434f8da6">&#9670;&nbsp;</a></span>XCANPS_AFMR1_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_AFMR1_OFFSET&#160;&#160;&#160;0x00000064U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Acceptance Filter Mask 1. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gaf2ac50558c7d926fed54329667d4aaca">XCanPs_AcceptFilterGet()</a>, and <a class="el" href="group__canps__v3__0.html#ga4de284fb96ea457b047c41fbd73ada44">XCanPs_AcceptFilterSet()</a>.</p>

</div>
</div>
<a id="gaeb3aa3cbaec57000d6277186cec0d9bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaeb3aa3cbaec57000d6277186cec0d9bc">&#9670;&nbsp;</a></span>XCANPS_AFMR2_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_AFMR2_OFFSET&#160;&#160;&#160;0x0000006CU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Acceptance Filter Mask 2. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gaf2ac50558c7d926fed54329667d4aaca">XCanPs_AcceptFilterGet()</a>, and <a class="el" href="group__canps__v3__0.html#ga4de284fb96ea457b047c41fbd73ada44">XCanPs_AcceptFilterSet()</a>.</p>

</div>
</div>
<a id="ga7e207d923ee0ac71efb22f54e1026189"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7e207d923ee0ac71efb22f54e1026189">&#9670;&nbsp;</a></span>XCANPS_AFMR3_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_AFMR3_OFFSET&#160;&#160;&#160;0x00000074U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Acceptance Filter Mask 3. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gaf2ac50558c7d926fed54329667d4aaca">XCanPs_AcceptFilterGet()</a>, and <a class="el" href="group__canps__v3__0.html#ga4de284fb96ea457b047c41fbd73ada44">XCanPs_AcceptFilterSet()</a>.</p>

</div>
</div>
<a id="gaebde5cf5bdaa29b3701b33609a4416c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaebde5cf5bdaa29b3701b33609a4416c0">&#9670;&nbsp;</a></span>XCANPS_AFMR4_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_AFMR4_OFFSET&#160;&#160;&#160;0x0000007CU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Acceptance Filter Mask 4. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gaf2ac50558c7d926fed54329667d4aaca">XCanPs_AcceptFilterGet()</a>, and <a class="el" href="group__canps__v3__0.html#ga4de284fb96ea457b047c41fbd73ada44">XCanPs_AcceptFilterSet()</a>.</p>

</div>
</div>
<a id="ga8525441daf41ee14d7d27f23408861e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8525441daf41ee14d7d27f23408861e4">&#9670;&nbsp;</a></span>XCANPS_AFR_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_AFR_OFFSET&#160;&#160;&#160;0x00000060U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Acceptance Filter Register. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga1cffdc22b01e4b4d3aad5e556bf96d20">XCanPs_AcceptFilterDisable()</a>, <a class="el" href="group__canps__v3__0.html#ga1ec6f79564deff77e496120552004ad8">XCanPs_AcceptFilterEnable()</a>, and <a class="el" href="group__canps__v3__0.html#ga52a76621e921b66e70e1bed7a58b72f7">XCanPs_AcceptFilterGetEnabled()</a>.</p>

</div>
</div>
<a id="gabde095aa619a3485599cf97c2bca57b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabde095aa619a3485599cf97c2bca57b5">&#9670;&nbsp;</a></span>XCANPS_AFR_UAF1_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_AFR_UAF1_MASK&#160;&#160;&#160;0x00000001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Use Acceptance Filter No.1. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gaf2ac50558c7d926fed54329667d4aaca">XCanPs_AcceptFilterGet()</a>, and <a class="el" href="group__canps__v3__0.html#ga4de284fb96ea457b047c41fbd73ada44">XCanPs_AcceptFilterSet()</a>.</p>

</div>
</div>
<a id="ga3ad179f930a2c29de945fabfddefc7d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3ad179f930a2c29de945fabfddefc7d2">&#9670;&nbsp;</a></span>XCANPS_AFR_UAF2_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_AFR_UAF2_MASK&#160;&#160;&#160;0x00000002U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Use Acceptance Filter No.2. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gaf2ac50558c7d926fed54329667d4aaca">XCanPs_AcceptFilterGet()</a>, and <a class="el" href="group__canps__v3__0.html#ga4de284fb96ea457b047c41fbd73ada44">XCanPs_AcceptFilterSet()</a>.</p>

</div>
</div>
<a id="ga4a2436988a3530bb49220dc20dd878bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4a2436988a3530bb49220dc20dd878bd">&#9670;&nbsp;</a></span>XCANPS_AFR_UAF3_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_AFR_UAF3_MASK&#160;&#160;&#160;0x00000004U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Use Acceptance Filter No.3. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gaf2ac50558c7d926fed54329667d4aaca">XCanPs_AcceptFilterGet()</a>, and <a class="el" href="group__canps__v3__0.html#ga4de284fb96ea457b047c41fbd73ada44">XCanPs_AcceptFilterSet()</a>.</p>

</div>
</div>
<a id="ga5e43518568ed23a47adea5a9d16e5036"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5e43518568ed23a47adea5a9d16e5036">&#9670;&nbsp;</a></span>XCANPS_AFR_UAF4_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_AFR_UAF4_MASK&#160;&#160;&#160;0x00000008U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Use Acceptance Filter No.4. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gaf2ac50558c7d926fed54329667d4aaca">XCanPs_AcceptFilterGet()</a>, and <a class="el" href="group__canps__v3__0.html#ga4de284fb96ea457b047c41fbd73ada44">XCanPs_AcceptFilterSet()</a>.</p>

</div>
</div>
<a id="ga94395d3db59f8f9ecbfea9daabe267fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga94395d3db59f8f9ecbfea9daabe267fa">&#9670;&nbsp;</a></span>XCANPS_BRPR_BRP_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_BRPR_BRP_MASK&#160;&#160;&#160;0x000000FFU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Baud Rate Prescaler. </p>

</div>
</div>
<a id="ga9da53efdc3565439b3a73e896ac2256f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9da53efdc3565439b3a73e896ac2256f">&#9670;&nbsp;</a></span>XCANPS_BRPR_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_BRPR_OFFSET&#160;&#160;&#160;0x00000008U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Baud Rate Prescaler. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gae452283471584ad19f0c854a782640ab">XCanPs_GetBaudRatePrescaler()</a>, and <a class="el" href="group__canps__v3__0.html#ga0e266c7af58c3b5eaef6e4dcd2354cbe">XCanPs_SetBaudRatePrescaler()</a>.</p>

</div>
</div>
<a id="gaf746ee190f7157c3508ed6a40a87a69a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf746ee190f7157c3508ed6a40a87a69a">&#9670;&nbsp;</a></span>XCANPS_BTR_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_BTR_OFFSET&#160;&#160;&#160;0x0000000CU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Bit Timing Register. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gaecaff4cbadbea1a01f570a7e6917a027">XCanPs_GetBitTiming()</a>.</p>

</div>
</div>
<a id="gab2fa448aceee2ee7380128f1f56ab76c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab2fa448aceee2ee7380128f1f56ab76c">&#9670;&nbsp;</a></span>XCANPS_BTR_SJW_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_BTR_SJW_MASK&#160;&#160;&#160;0x00000180U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Synchronization Jump Width. </p>

</div>
</div>
<a id="gaa00268720875bafc99c8bb93d8d1094e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa00268720875bafc99c8bb93d8d1094e">&#9670;&nbsp;</a></span>XCANPS_BTR_TS1_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_BTR_TS1_MASK&#160;&#160;&#160;0x0000000FU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Time Segment 1. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gaecaff4cbadbea1a01f570a7e6917a027">XCanPs_GetBitTiming()</a>, and <a class="el" href="group__canps__v3__0.html#gac42876be22acc7e24262120000c4c548">XCanPs_SetBitTiming()</a>.</p>

</div>
</div>
<a id="gac1d9027df8de8ce8fb521677251601aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac1d9027df8de8ce8fb521677251601aa">&#9670;&nbsp;</a></span>XCANPS_BTR_TS2_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_BTR_TS2_MASK&#160;&#160;&#160;0x00000070U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Time Segment 2. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gaecaff4cbadbea1a01f570a7e6917a027">XCanPs_GetBitTiming()</a>.</p>

</div>
</div>
<a id="ga7ab3760eb2d37d0385cf930fd1cba230"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7ab3760eb2d37d0385cf930fd1cba230">&#9670;&nbsp;</a></span>XCanPs_ClearTimestamp</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCanPs_ClearTimestamp</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__canps__v3__0.html#ga54552fe78115d81806e23a03646efb55">XCanPs_WriteReg</a>((InstancePtr)-&gt;CanConfig.BaseAddr,              \</div><div class="line">                                <a class="code" href="group__canps__v3__0.html#ga9548e23d85404e5d7c99dba105d0ace0">XCANPS_TCR_OFFSET</a>, <a class="code" href="group__canps__v3__0.html#ga73ebdb9f11b9c769acc0d2cdc085fdc7">XCANPS_TCR_CTS_MASK</a>)</div><div class="ttc" id="group__canps__v3__0_html_ga73ebdb9f11b9c769acc0d2cdc085fdc7"><div class="ttname"><a href="group__canps__v3__0.html#ga73ebdb9f11b9c769acc0d2cdc085fdc7">XCANPS_TCR_CTS_MASK</a></div><div class="ttdeci">#define XCANPS_TCR_CTS_MASK</div><div class="ttdoc">Clear Timestamp counter mask. </div><div class="ttdef"><b>Definition:</b> xcanps_hw.h:228</div></div>
<div class="ttc" id="group__canps__v3__0_html_ga54552fe78115d81806e23a03646efb55"><div class="ttname"><a href="group__canps__v3__0.html#ga54552fe78115d81806e23a03646efb55">XCanPs_WriteReg</a></div><div class="ttdeci">#define XCanPs_WriteReg(BaseAddr, RegOffset, Data)</div><div class="ttdoc">This macro writes the given register. </div><div class="ttdef"><b>Definition:</b> xcanps_hw.h:355</div></div>
<div class="ttc" id="group__canps__v3__0_html_ga9548e23d85404e5d7c99dba105d0ace0"><div class="ttname"><a href="group__canps__v3__0.html#ga9548e23d85404e5d7c99dba105d0ace0">XCANPS_TCR_OFFSET</a></div><div class="ttdeci">#define XCANPS_TCR_OFFSET</div><div class="ttdoc">Timestamp Control Register. </div><div class="ttdef"><b>Definition:</b> xcanps_hw.h:96</div></div>
</div><!-- fragment -->
<p>This macro clears the timestamp in the Timestamp Control Register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-Style signature: void <a class="el" href="group__canps__v3__0.html#ga7ab3760eb2d37d0385cf930fd1cba230" title="This macro clears the timestamp in the Timestamp Control Register. ">XCanPs_ClearTimestamp(XCanPs *InstancePtr)</a> </dd></dl>

</div>
</div>
<a id="ga8c9bf6d887f01a9726ef73fa9c3da816"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8c9bf6d887f01a9726ef73fa9c3da816">&#9670;&nbsp;</a></span>XCanPs_CreateDlcValue</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCanPs_CreateDlcValue</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">DataLengCode</td><td>)</td>
          <td>&#160;&#160;&#160;(((DataLengCode) &lt;&lt; XCANPS_DLCR_DLC_SHIFT) &amp; <a class="el" href="group__canps__v3__0.html#ga98d6f7c2e6040aed17c331ab39a52f60">XCANPS_DLCR_DLC_MASK</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>

<p>This macro calculates value for Data Length Code register given Data Length Code value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">DataLengCode</td><td>indicates Data Length Code value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Value that can be assigned to Data Length Code register.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-Style signature: u32 <a class="el" href="group__canps__v3__0.html#ga8c9bf6d887f01a9726ef73fa9c3da816" title="This macro calculates value for Data Length Code register given Data Length Code value. ">XCanPs_CreateDlcValue(u32 DataLengCode)</a></dd></dl>
<p>Read the CAN specification for meaning of Data Length Code. </p>

</div>
</div>
<a id="gada077a3bb7d30a6bca23529ee48ceb42"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gada077a3bb7d30a6bca23529ee48ceb42">&#9670;&nbsp;</a></span>XCanPs_CreateIdValue</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCanPs_CreateIdValue</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">StandardId, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">SubRemoteTransReq, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">IdExtension, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">ExtendedId, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">RemoteTransReq&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line">((((StandardId) &lt;&lt; XCANPS_IDR_ID1_SHIFT) &amp; <a class="code" href="group__canps__v3__0.html#ga03c570854310ffd7198a240aa3e5b450">XCANPS_IDR_ID1_MASK</a>) |       \</div><div class="line"> (((SubRemoteTransReq) &lt;&lt; XCANPS_IDR_SRR_SHIFT) &amp; <a class="code" href="group__canps__v3__0.html#gad77824652aaf9b68e9031e4c1ab52e08">XCANPS_IDR_SRR_MASK</a>)|\</div><div class="line"> (((IdExtension) &lt;&lt; XCANPS_IDR_IDE_SHIFT) &amp; <a class="code" href="group__canps__v3__0.html#gae6a7ad9f02cb2b57195783ced2dff986">XCANPS_IDR_IDE_MASK</a>) |      \</div><div class="line"> (((ExtendedId) &lt;&lt; XCANPS_IDR_ID2_SHIFT) &amp; <a class="code" href="group__canps__v3__0.html#ga23de74a7d58119de9d629f830c28aa53">XCANPS_IDR_ID2_MASK</a>) |       \</div><div class="line"> ((RemoteTransReq) &amp; <a class="code" href="group__canps__v3__0.html#gaf7c18bde3aed08f7411934f977145cc8">XCANPS_IDR_RTR_MASK</a>))</div><div class="ttc" id="group__canps__v3__0_html_ga23de74a7d58119de9d629f830c28aa53"><div class="ttname"><a href="group__canps__v3__0.html#ga23de74a7d58119de9d629f830c28aa53">XCANPS_IDR_ID2_MASK</a></div><div class="ttdeci">#define XCANPS_IDR_ID2_MASK</div><div class="ttdoc">Extended Message Ident. </div><div class="ttdef"><b>Definition:</b> xcanps_hw.h:250</div></div>
<div class="ttc" id="group__canps__v3__0_html_gad77824652aaf9b68e9031e4c1ab52e08"><div class="ttname"><a href="group__canps__v3__0.html#gad77824652aaf9b68e9031e4c1ab52e08">XCANPS_IDR_SRR_MASK</a></div><div class="ttdeci">#define XCANPS_IDR_SRR_MASK</div><div class="ttdoc">Substitute Remote TX Req. </div><div class="ttdef"><b>Definition:</b> xcanps_hw.h:246</div></div>
<div class="ttc" id="group__canps__v3__0_html_gaf7c18bde3aed08f7411934f977145cc8"><div class="ttname"><a href="group__canps__v3__0.html#gaf7c18bde3aed08f7411934f977145cc8">XCANPS_IDR_RTR_MASK</a></div><div class="ttdeci">#define XCANPS_IDR_RTR_MASK</div><div class="ttdoc">Remote TX Request. </div><div class="ttdef"><b>Definition:</b> xcanps_hw.h:252</div></div>
<div class="ttc" id="group__canps__v3__0_html_ga03c570854310ffd7198a240aa3e5b450"><div class="ttname"><a href="group__canps__v3__0.html#ga03c570854310ffd7198a240aa3e5b450">XCANPS_IDR_ID1_MASK</a></div><div class="ttdeci">#define XCANPS_IDR_ID1_MASK</div><div class="ttdoc">Standard Messg Identifier. </div><div class="ttdef"><b>Definition:</b> xcanps_hw.h:244</div></div>
<div class="ttc" id="group__canps__v3__0_html_gae6a7ad9f02cb2b57195783ced2dff986"><div class="ttname"><a href="group__canps__v3__0.html#gae6a7ad9f02cb2b57195783ced2dff986">XCANPS_IDR_IDE_MASK</a></div><div class="ttdeci">#define XCANPS_IDR_IDE_MASK</div><div class="ttdoc">Identifier Extension. </div><div class="ttdef"><b>Definition:</b> xcanps_hw.h:248</div></div>
</div><!-- fragment -->
<p>This macro calculates CAN message identifier value given identifier field values. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">StandardId</td><td>contains Standard Message ID value. </td></tr>
    <tr><td class="paramname">SubRemoteTransReq</td><td>contains Substitute Remote Transmission Request value. </td></tr>
    <tr><td class="paramname">IdExtension</td><td>contains Identifier Extension value. </td></tr>
    <tr><td class="paramname">ExtendedId</td><td>contains Extended Message ID value. </td></tr>
    <tr><td class="paramname">RemoteTransReq</td><td>contains Remote Transmission Request value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Message Identifier value.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-Style signature: u32 XCanPs_CreateIdValue(u32 StandardId, u32 SubRemoteTransReq, u32 IdExtension, u32 ExtendedId, u32 RemoteTransReq)</dd></dl>
<p>Read the CAN specification for meaning of each parameter. </p>

</div>
</div>
<a id="ga98d6f7c2e6040aed17c331ab39a52f60"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga98d6f7c2e6040aed17c331ab39a52f60">&#9670;&nbsp;</a></span>XCANPS_DLCR_DLC_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_DLCR_DLC_MASK&#160;&#160;&#160;0xF0000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Data Length Code. </p>

</div>
</div>
<a id="gae2000262a11f01d0b8a890445292b95f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae2000262a11f01d0b8a890445292b95f">&#9670;&nbsp;</a></span>XCANPS_DLCR_TIMESTAMP_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_DLCR_TIMESTAMP_MASK&#160;&#160;&#160;0x0000FFFFU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Timestamp Mask (Rx only) </p>

</div>
</div>
<a id="gabfe44e5fafc88252567d9313d7b4ce94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabfe44e5fafc88252567d9313d7b4ce94">&#9670;&nbsp;</a></span>XCANPS_DW1R_DB0_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_DW1R_DB0_MASK&#160;&#160;&#160;0xFF000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Data Byte 0. </p>

</div>
</div>
<a id="ga024e13e45dab4d19b67d8a15ddbb139e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga024e13e45dab4d19b67d8a15ddbb139e">&#9670;&nbsp;</a></span>XCANPS_DW1R_DB1_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_DW1R_DB1_MASK&#160;&#160;&#160;0x00FF0000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Data Byte 1. </p>

</div>
</div>
<a id="ga9c0843860eb96f41e0a324185dc568ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9c0843860eb96f41e0a324185dc568ff">&#9670;&nbsp;</a></span>XCANPS_DW1R_DB2_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_DW1R_DB2_MASK&#160;&#160;&#160;0x0000FF00U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Data Byte 2. </p>

</div>
</div>
<a id="gad3b91a27b6a7bbd6fcaf559851448d29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad3b91a27b6a7bbd6fcaf559851448d29">&#9670;&nbsp;</a></span>XCANPS_DW1R_DB3_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_DW1R_DB3_MASK&#160;&#160;&#160;0x000000FFU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Data Byte 3. </p>

</div>
</div>
<a id="ga758ca7ff3994295f328f44ee77a8a4a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga758ca7ff3994295f328f44ee77a8a4a9">&#9670;&nbsp;</a></span>XCANPS_DW2R_DB4_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_DW2R_DB4_MASK&#160;&#160;&#160;0xFF000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Data Byte 4. </p>

</div>
</div>
<a id="gaf30904663d3fb9139dddd22035abe323"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf30904663d3fb9139dddd22035abe323">&#9670;&nbsp;</a></span>XCANPS_DW2R_DB5_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_DW2R_DB5_MASK&#160;&#160;&#160;0x00FF0000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Data Byte 5. </p>

</div>
</div>
<a id="ga25a82b59a9f09988b49bca491c3a5577"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga25a82b59a9f09988b49bca491c3a5577">&#9670;&nbsp;</a></span>XCANPS_DW2R_DB6_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_DW2R_DB6_MASK&#160;&#160;&#160;0x0000FF00U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Data Byte 6. </p>

</div>
</div>
<a id="ga43fb550275bf4ba6b672988096b6509d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga43fb550275bf4ba6b672988096b6509d">&#9670;&nbsp;</a></span>XCANPS_DW2R_DB7_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_DW2R_DB7_MASK&#160;&#160;&#160;0x000000FFU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Data Byte 7. </p>

</div>
</div>
<a id="ga116d4c70b44ccceacd85b97f93caffed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga116d4c70b44ccceacd85b97f93caffed">&#9670;&nbsp;</a></span>XCANPS_ECR_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_ECR_OFFSET&#160;&#160;&#160;0x00000010U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Error Counter Register. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gaecf35feac1fbc0df4029ca4e1150c650">XCanPs_GetBusErrorCounter()</a>.</p>

</div>
</div>
<a id="ga431d070fafedc970ffbd0b4332aece9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga431d070fafedc970ffbd0b4332aece9e">&#9670;&nbsp;</a></span>XCANPS_ECR_REC_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_ECR_REC_MASK&#160;&#160;&#160;0x0000FF00U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Receive Error Counter. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gaecf35feac1fbc0df4029ca4e1150c650">XCanPs_GetBusErrorCounter()</a>.</p>

</div>
</div>
<a id="ga978194cae1bbb8c72bbf5606bbcb95fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga978194cae1bbb8c72bbf5606bbcb95fb">&#9670;&nbsp;</a></span>XCANPS_ECR_TEC_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_ECR_TEC_MASK&#160;&#160;&#160;0x000000FFU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Transmit Error Counter. </p>

</div>
</div>
<a id="ga5bcb1b889c3e08833d9e043372b183e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5bcb1b889c3e08833d9e043372b183e4">&#9670;&nbsp;</a></span>XCANPS_ESR_ACKER_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_ESR_ACKER_MASK&#160;&#160;&#160;0x00000010U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>ACK Error. </p>

</div>
</div>
<a id="ga89a98d7041f10767396ae048179a3b89"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga89a98d7041f10767396ae048179a3b89">&#9670;&nbsp;</a></span>XCANPS_ESR_BERR_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_ESR_BERR_MASK&#160;&#160;&#160;0x00000008U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Bit Error. </p>

</div>
</div>
<a id="gadabf3de36b51ec7f67d520625cec08c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadabf3de36b51ec7f67d520625cec08c4">&#9670;&nbsp;</a></span>XCANPS_ESR_CRCER_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_ESR_CRCER_MASK&#160;&#160;&#160;0x00000001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>CRC Error. </p>

</div>
</div>
<a id="ga9f8e78fa8cf400ca661beb1a23feb95e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9f8e78fa8cf400ca661beb1a23feb95e">&#9670;&nbsp;</a></span>XCANPS_ESR_FMER_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_ESR_FMER_MASK&#160;&#160;&#160;0x00000002U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Form Error. </p>

</div>
</div>
<a id="ga9fcd5569b88b35770450468eb08ba7ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9fcd5569b88b35770450468eb08ba7ea">&#9670;&nbsp;</a></span>XCANPS_ESR_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_ESR_OFFSET&#160;&#160;&#160;0x00000014U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Error Status Register. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga616ac01563ef3d8f9ae57bf308bad534">XCanPs_ClearBusErrorStatus()</a>, and <a class="el" href="group__canps__v3__0.html#ga647e39edd3f7247a5e283e9083d8d285">XCanPs_GetBusErrorStatus()</a>.</p>

</div>
</div>
<a id="gabf556c44e2049c14c39d735be4b6e810"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabf556c44e2049c14c39d735be4b6e810">&#9670;&nbsp;</a></span>XCANPS_ESR_STER_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_ESR_STER_MASK&#160;&#160;&#160;0x00000004U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Stuff Error. </p>

</div>
</div>
<a id="ga60962a646bcd90fd768f78ff34f17ba5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga60962a646bcd90fd768f78ff34f17ba5">&#9670;&nbsp;</a></span>XCANPS_HANDLER_ERROR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_HANDLER_ERROR&#160;&#160;&#160;3U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>

<p>Handler type for error interrupt. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga0204f292cdab7478127acd765d97dd8d">XCanPs_SetHandler()</a>.</p>

</div>
</div>
<a id="gad64733c5ddd21a972fc93a8d43f52d74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad64733c5ddd21a972fc93a8d43f52d74">&#9670;&nbsp;</a></span>XCANPS_HANDLER_EVENT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_HANDLER_EVENT&#160;&#160;&#160;4U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>

<p>Handler type for all other interrupts. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga0204f292cdab7478127acd765d97dd8d">XCanPs_SetHandler()</a>.</p>

</div>
</div>
<a id="ga6393e21002da8517ac35ae9c1be58681"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6393e21002da8517ac35ae9c1be58681">&#9670;&nbsp;</a></span>XCANPS_HANDLER_RECV</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_HANDLER_RECV&#160;&#160;&#160;2U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>

<p>Handler type for frame reception interrupt. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga0204f292cdab7478127acd765d97dd8d">XCanPs_SetHandler()</a>.</p>

</div>
</div>
<a id="gafed3df99b6f79d0ff7c39a6a03ec6c90"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafed3df99b6f79d0ff7c39a6a03ec6c90">&#9670;&nbsp;</a></span>XCANPS_HANDLER_SEND</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_HANDLER_SEND&#160;&#160;&#160;1U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>

<p>Handler type for frame sending interrupt. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga0204f292cdab7478127acd765d97dd8d">XCanPs_SetHandler()</a>.</p>

</div>
</div>
<a id="gad00a5deeda33258d922282e6fa62e876"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad00a5deeda33258d922282e6fa62e876">&#9670;&nbsp;</a></span>XCANPS_ICR_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_ICR_OFFSET&#160;&#160;&#160;0x00000024U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Interrupt Clear Register. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gae573e5472755420a3b6ded5d01814534">XCanPs_IntrClear()</a>.</p>

</div>
</div>
<a id="ga03c570854310ffd7198a240aa3e5b450"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga03c570854310ffd7198a240aa3e5b450">&#9670;&nbsp;</a></span>XCANPS_IDR_ID1_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_IDR_ID1_MASK&#160;&#160;&#160;0xFFE00000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Standard Messg Identifier. </p>

</div>
</div>
<a id="ga23de74a7d58119de9d629f830c28aa53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga23de74a7d58119de9d629f830c28aa53">&#9670;&nbsp;</a></span>XCANPS_IDR_ID2_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_IDR_ID2_MASK&#160;&#160;&#160;0x0007FFFEU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Extended Message Ident. </p>

</div>
</div>
<a id="gae6a7ad9f02cb2b57195783ced2dff986"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae6a7ad9f02cb2b57195783ced2dff986">&#9670;&nbsp;</a></span>XCANPS_IDR_IDE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_IDR_IDE_MASK&#160;&#160;&#160;0x00080000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Identifier Extension. </p>

</div>
</div>
<a id="gaf7c18bde3aed08f7411934f977145cc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf7c18bde3aed08f7411934f977145cc8">&#9670;&nbsp;</a></span>XCANPS_IDR_RTR_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_IDR_RTR_MASK&#160;&#160;&#160;0x00000001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Remote TX Request. </p>

</div>
</div>
<a id="gad77824652aaf9b68e9031e4c1ab52e08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad77824652aaf9b68e9031e4c1ab52e08">&#9670;&nbsp;</a></span>XCANPS_IDR_SRR_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_IDR_SRR_MASK&#160;&#160;&#160;0x00100000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Substitute Remote TX Req. </p>

</div>
</div>
<a id="gad534c55a73e054745c04c3adada42a7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad534c55a73e054745c04c3adada42a7a">&#9670;&nbsp;</a></span>XCANPS_IER_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_IER_OFFSET&#160;&#160;&#160;0x00000020U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Interrupt Enable Register. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga6228ea25a1ccf31608231b07f3ae54a7">XCanPs_IntrDisable()</a>, <a class="el" href="group__canps__v3__0.html#ga06e4eda1022a81ea619ac7d66e345577">XCanPs_IntrEnable()</a>, and <a class="el" href="group__canps__v3__0.html#gac3325adebecffcb97cb01ff3c75391b0">XCanPs_IntrGetEnabled()</a>.</p>

</div>
</div>
<a id="gaecacd08d0192291be2907ddad81602c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaecacd08d0192291be2907ddad81602c5">&#9670;&nbsp;</a></span>XCanPs_IsAcceptFilterBusy</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCanPs_IsAcceptFilterBusy</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line">(((<a class="code" href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a>(((InstancePtr)-&gt;CanConfig.BaseAddr),  \</div><div class="line">                <a class="code" href="group__canps__v3__0.html#gab03b1427d6741629e7c78dccfa818dff">XCANPS_SR_OFFSET</a>) &amp; <a class="code" href="group__canps__v3__0.html#ga395ca492e1b1699df527987b3d1b5982">XCANPS_SR_ACFBSY_MASK</a>) != (u32)0) ? TRUE : FALSE)</div><div class="ttc" id="group__canps__v3__0_html_ga395ca492e1b1699df527987b3d1b5982"><div class="ttname"><a href="group__canps__v3__0.html#ga395ca492e1b1699df527987b3d1b5982">XCANPS_SR_ACFBSY_MASK</a></div><div class="ttdeci">#define XCANPS_SR_ACFBSY_MASK</div><div class="ttdoc">Acceptance Filter busy. </div><div class="ttdef"><b>Definition:</b> xcanps_hw.h:178</div></div>
<div class="ttc" id="group__canps__v3__0_html_gab03b1427d6741629e7c78dccfa818dff"><div class="ttname"><a href="group__canps__v3__0.html#gab03b1427d6741629e7c78dccfa818dff">XCANPS_SR_OFFSET</a></div><div class="ttdeci">#define XCANPS_SR_OFFSET</div><div class="ttdoc">Status Register. </div><div class="ttdef"><b>Definition:</b> xcanps_hw.h:91</div></div>
<div class="ttc" id="group__canps__v3__0_html_ga6bace9f8a3ecc5df69b5e9611deaa47c"><div class="ttname"><a href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a></div><div class="ttdeci">#define XCanPs_ReadReg(BaseAddr, RegOffset)</div><div class="ttdoc">This macro reads the given register. </div><div class="ttdef"><b>Definition:</b> xcanps_hw.h:337</div></div>
</div><!-- fragment -->
<p>This macro checks if the CAN device is ready for the driver to change Acceptance Filter Identifier Registers (AFIR) and Acceptance Filter Mask Registers (AFMR). </p>
<p>AFIR and AFMR for a filter are changeable only after the filter is disabled and this routine returns FALSE. The filter can be disabled using the XCanPs_AcceptFilterDisable function.</p>
<p>Use the XCanPs_Accept_* functions for configuring the acceptance filters.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>TRUE if the device is busy and NOT ready to accept writes to AFIR and AFMR.</li>
<li>FALSE if the device is ready to accept writes to AFIR and AFMR.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-Style signature: int <a class="el" href="group__canps__v3__0.html#gaecacd08d0192291be2907ddad81602c5" title="This macro checks if the CAN device is ready for the driver to change Acceptance Filter Identifier Re...">XCanPs_IsAcceptFilterBusy(XCanPs *InstancePtr)</a> </dd></dl>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga4de284fb96ea457b047c41fbd73ada44">XCanPs_AcceptFilterSet()</a>.</p>

</div>
</div>
<a id="ga8dc513dd3633b55910d20150ca42bc12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8dc513dd3633b55910d20150ca42bc12">&#9670;&nbsp;</a></span>XCanPs_IsHighPriorityBufFull</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCanPs_IsHighPriorityBufFull</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line">(((<a class="code" href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a>(((InstancePtr)-&gt;CanConfig.BaseAddr),  \</div><div class="line">                <a class="code" href="group__canps__v3__0.html#gab03b1427d6741629e7c78dccfa818dff">XCANPS_SR_OFFSET</a>) &amp; <a class="code" href="group__canps__v3__0.html#ga1785ab9ad6f36795a567d7503afda2b8">XCANPS_SR_TXBFLL_MASK</a>) != (u32)0) ? TRUE : FALSE)</div><div class="ttc" id="group__canps__v3__0_html_gab03b1427d6741629e7c78dccfa818dff"><div class="ttname"><a href="group__canps__v3__0.html#gab03b1427d6741629e7c78dccfa818dff">XCANPS_SR_OFFSET</a></div><div class="ttdeci">#define XCANPS_SR_OFFSET</div><div class="ttdoc">Status Register. </div><div class="ttdef"><b>Definition:</b> xcanps_hw.h:91</div></div>
<div class="ttc" id="group__canps__v3__0_html_ga1785ab9ad6f36795a567d7503afda2b8"><div class="ttname"><a href="group__canps__v3__0.html#ga1785ab9ad6f36795a567d7503afda2b8">XCANPS_SR_TXBFLL_MASK</a></div><div class="ttdeci">#define XCANPS_SR_TXBFLL_MASK</div><div class="ttdoc">TX High Priority Buffer full. </div><div class="ttdef"><b>Definition:</b> xcanps_hw.h:180</div></div>
<div class="ttc" id="group__canps__v3__0_html_ga6bace9f8a3ecc5df69b5e9611deaa47c"><div class="ttname"><a href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a></div><div class="ttdeci">#define XCanPs_ReadReg(BaseAddr, RegOffset)</div><div class="ttdoc">This macro reads the given register. </div><div class="ttdef"><b>Definition:</b> xcanps_hw.h:337</div></div>
</div><!-- fragment -->
<p>This macro checks if the Transmission High Priority Buffer is full. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>TRUE if the TX High Priority Buffer is full.</li>
<li>FALSE if the TX High Priority Buffer is NOT full.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-Style signature: int <a class="el" href="group__canps__v3__0.html#ga8dc513dd3633b55910d20150ca42bc12" title="This macro checks if the Transmission High Priority Buffer is full. ">XCanPs_IsHighPriorityBufFull(XCanPs *InstancePtr)</a> </dd></dl>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga64f46d8713f6e3d4c62047d6b9ddbebf">XCanPs_SendHighPriority()</a>.</p>

</div>
</div>
<a id="gaf4dd00135421b512fc9c7eb7ce6b67bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf4dd00135421b512fc9c7eb7ce6b67bc">&#9670;&nbsp;</a></span>XCANPS_ISR_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_ISR_OFFSET&#160;&#160;&#160;0x0000001CU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Interrupt Status Register. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gac6640f1ea5f9e4027d67af3b4eec4623">XCanPs_IntrGetStatus()</a>.</p>

</div>
</div>
<a id="ga50a4bad5973f5a8819541969a226eeff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga50a4bad5973f5a8819541969a226eeff">&#9670;&nbsp;</a></span>XCanPs_IsRxEmpty</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCanPs_IsRxEmpty</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line">(((<a class="code" href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a>(((InstancePtr)-&gt;CanConfig.BaseAddr),  \</div><div class="line">                <a class="code" href="group__canps__v3__0.html#gaf4dd00135421b512fc9c7eb7ce6b67bc">XCANPS_ISR_OFFSET</a>) &amp; <a class="code" href="group__canps__v3__0.html#ga63bd136fc25bca2796bce56d60a31ea6">XCANPS_IXR_RXNEMP_MASK</a>) != (u32)0) ? FALSE : TRUE)</div><div class="ttc" id="group__canps__v3__0_html_ga63bd136fc25bca2796bce56d60a31ea6"><div class="ttname"><a href="group__canps__v3__0.html#ga63bd136fc25bca2796bce56d60a31ea6">XCANPS_IXR_RXNEMP_MASK</a></div><div class="ttdeci">#define XCANPS_IXR_RXNEMP_MASK</div><div class="ttdoc">RX FIFO Not Empty Interrupt. </div><div class="ttdef"><b>Definition:</b> xcanps_hw.h:202</div></div>
<div class="ttc" id="group__canps__v3__0_html_ga6bace9f8a3ecc5df69b5e9611deaa47c"><div class="ttname"><a href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a></div><div class="ttdeci">#define XCanPs_ReadReg(BaseAddr, RegOffset)</div><div class="ttdoc">This macro reads the given register. </div><div class="ttdef"><b>Definition:</b> xcanps_hw.h:337</div></div>
<div class="ttc" id="group__canps__v3__0_html_gaf4dd00135421b512fc9c7eb7ce6b67bc"><div class="ttname"><a href="group__canps__v3__0.html#gaf4dd00135421b512fc9c7eb7ce6b67bc">XCANPS_ISR_OFFSET</a></div><div class="ttdeci">#define XCANPS_ISR_OFFSET</div><div class="ttdoc">Interrupt Status Register. </div><div class="ttdef"><b>Definition:</b> xcanps_hw.h:93</div></div>
</div><!-- fragment -->
<p>This macro checks if the receive FIFO is empty. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>TRUE if RX FIFO is empty.</li>
<li>FALSE if the RX FIFO is NOT empty.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-Style signature: int <a class="el" href="group__canps__v3__0.html#ga50a4bad5973f5a8819541969a226eeff" title="This macro checks if the receive FIFO is empty. ">XCanPs_IsRxEmpty(XCanPs *InstancePtr)</a> </dd></dl>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gaf821f77f00b8eca7c564b15d6c8f8b5e">XCanPs_Recv()</a>.</p>

</div>
</div>
<a id="ga97803151fa85361cf6f486bc1d278f08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga97803151fa85361cf6f486bc1d278f08">&#9670;&nbsp;</a></span>XCanPs_IsTxDone</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCanPs_IsTxDone</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line">(((<a class="code" href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a>(((InstancePtr)-&gt;CanConfig.BaseAddr),          \</div><div class="line">                <a class="code" href="group__canps__v3__0.html#gaf4dd00135421b512fc9c7eb7ce6b67bc">XCANPS_ISR_OFFSET</a>) &amp; <a class="code" href="group__canps__v3__0.html#ga5270e4112cfc21e4a7ed8c168f2ccb10">XCANPS_IXR_TXOK_MASK</a>) != (u32)0) ? TRUE : FALSE)</div><div class="ttc" id="group__canps__v3__0_html_ga5270e4112cfc21e4a7ed8c168f2ccb10"><div class="ttname"><a href="group__canps__v3__0.html#ga5270e4112cfc21e4a7ed8c168f2ccb10">XCANPS_IXR_TXOK_MASK</a></div><div class="ttdeci">#define XCANPS_IXR_TXOK_MASK</div><div class="ttdoc">TX Successful Interrupt. </div><div class="ttdef"><b>Definition:</b> xcanps_hw.h:208</div></div>
<div class="ttc" id="group__canps__v3__0_html_ga6bace9f8a3ecc5df69b5e9611deaa47c"><div class="ttname"><a href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a></div><div class="ttdeci">#define XCanPs_ReadReg(BaseAddr, RegOffset)</div><div class="ttdoc">This macro reads the given register. </div><div class="ttdef"><b>Definition:</b> xcanps_hw.h:337</div></div>
<div class="ttc" id="group__canps__v3__0_html_gaf4dd00135421b512fc9c7eb7ce6b67bc"><div class="ttname"><a href="group__canps__v3__0.html#gaf4dd00135421b512fc9c7eb7ce6b67bc">XCANPS_ISR_OFFSET</a></div><div class="ttdeci">#define XCANPS_ISR_OFFSET</div><div class="ttdoc">Interrupt Status Register. </div><div class="ttdef"><b>Definition:</b> xcanps_hw.h:93</div></div>
</div><!-- fragment -->
<p>This macro checks if the transmission is complete. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>TRUE if the transmission is done.</li>
<li>FALSE if the transmission is not done.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-Style signature: int <a class="el" href="group__canps__v3__0.html#ga97803151fa85361cf6f486bc1d278f08" title="This macro checks if the transmission is complete. ">XCanPs_IsTxDone(XCanPs *InstancePtr)</a> </dd></dl>

</div>
</div>
<a id="ga24933e3b4780683d895a385e7d1b50d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga24933e3b4780683d895a385e7d1b50d7">&#9670;&nbsp;</a></span>XCanPs_IsTxFifoFull</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCanPs_IsTxFifoFull</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line">(((<a class="code" href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a>(((InstancePtr)-&gt;CanConfig.BaseAddr),  \</div><div class="line">                <a class="code" href="group__canps__v3__0.html#gab03b1427d6741629e7c78dccfa818dff">XCANPS_SR_OFFSET</a>) &amp; <a class="code" href="group__canps__v3__0.html#gad9255c34d0981002d1b06825ba872c53">XCANPS_SR_TXFLL_MASK</a>) != (u32)0) ? TRUE : FALSE)</div><div class="ttc" id="group__canps__v3__0_html_gab03b1427d6741629e7c78dccfa818dff"><div class="ttname"><a href="group__canps__v3__0.html#gab03b1427d6741629e7c78dccfa818dff">XCANPS_SR_OFFSET</a></div><div class="ttdeci">#define XCANPS_SR_OFFSET</div><div class="ttdoc">Status Register. </div><div class="ttdef"><b>Definition:</b> xcanps_hw.h:91</div></div>
<div class="ttc" id="group__canps__v3__0_html_gad9255c34d0981002d1b06825ba872c53"><div class="ttname"><a href="group__canps__v3__0.html#gad9255c34d0981002d1b06825ba872c53">XCANPS_SR_TXFLL_MASK</a></div><div class="ttdeci">#define XCANPS_SR_TXFLL_MASK</div><div class="ttdoc">TX FIFO is full. </div><div class="ttdef"><b>Definition:</b> xcanps_hw.h:179</div></div>
<div class="ttc" id="group__canps__v3__0_html_ga6bace9f8a3ecc5df69b5e9611deaa47c"><div class="ttname"><a href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a></div><div class="ttdeci">#define XCanPs_ReadReg(BaseAddr, RegOffset)</div><div class="ttdoc">This macro reads the given register. </div><div class="ttdef"><b>Definition:</b> xcanps_hw.h:337</div></div>
</div><!-- fragment -->
<p>This macro checks if the transmission FIFO is full. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>TRUE if TX FIFO is full.</li>
<li>FALSE if the TX FIFO is NOT full.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-Style signature: int <a class="el" href="group__canps__v3__0.html#ga24933e3b4780683d895a385e7d1b50d7" title="This macro checks if the transmission FIFO is full. ">XCanPs_IsTxFifoFull(XCanPs *InstancePtr)</a> </dd></dl>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga4bea2b2b897bad064ebbf6c87a934a40">XCanPs_Send()</a>.</p>

</div>
</div>
<a id="ga4a9f40766aa79e63473f80e45d7a4cb2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4a9f40766aa79e63473f80e45d7a4cb2">&#9670;&nbsp;</a></span>XCANPS_IXR_ARBLST_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_IXR_ARBLST_MASK&#160;&#160;&#160;0x00000001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Arbitration Lost Interrupt. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gad7c797dfe9aef613d20c2a822ed301dc">XCanPs_IntrHandler()</a>.</p>

</div>
</div>
<a id="ga438360dd41b95c4e5794ed038e311cf1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga438360dd41b95c4e5794ed038e311cf1">&#9670;&nbsp;</a></span>XCANPS_IXR_BSOFF_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_IXR_BSOFF_MASK&#160;&#160;&#160;0x00000200U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Bus Off Interrupt. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gad7c797dfe9aef613d20c2a822ed301dc">XCanPs_IntrHandler()</a>.</p>

</div>
</div>
<a id="ga5f8ec6f644bc0212dce402d138716aa4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5f8ec6f644bc0212dce402d138716aa4">&#9670;&nbsp;</a></span>XCANPS_IXR_ERROR_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_IXR_ERROR_MASK&#160;&#160;&#160;0x00000100U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Error Interrupt. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gad7c797dfe9aef613d20c2a822ed301dc">XCanPs_IntrHandler()</a>.</p>

</div>
</div>
<a id="gafe154f7d522c1a8e7e26f20d1e8df897"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafe154f7d522c1a8e7e26f20d1e8df897">&#9670;&nbsp;</a></span>XCANPS_IXR_RXFWMFLL_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_IXR_RXFWMFLL_MASK&#160;&#160;&#160;0x00001000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Rx FIFO Watermark Full. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gad7c797dfe9aef613d20c2a822ed301dc">XCanPs_IntrHandler()</a>.</p>

</div>
</div>
<a id="ga63bd136fc25bca2796bce56d60a31ea6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga63bd136fc25bca2796bce56d60a31ea6">&#9670;&nbsp;</a></span>XCANPS_IXR_RXNEMP_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_IXR_RXNEMP_MASK&#160;&#160;&#160;0x00000080U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>RX FIFO Not Empty Interrupt. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gad7c797dfe9aef613d20c2a822ed301dc">XCanPs_IntrHandler()</a>, and <a class="el" href="group__canps__v3__0.html#gaf821f77f00b8eca7c564b15d6c8f8b5e">XCanPs_Recv()</a>.</p>

</div>
</div>
<a id="ga380edfd096c837c735e9f50fcae4bd89"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga380edfd096c837c735e9f50fcae4bd89">&#9670;&nbsp;</a></span>XCANPS_IXR_RXOFLW_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_IXR_RXOFLW_MASK&#160;&#160;&#160;0x00000040U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>RX FIFO Overflow Interrupt. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gad7c797dfe9aef613d20c2a822ed301dc">XCanPs_IntrHandler()</a>.</p>

</div>
</div>
<a id="ga68430463f29b1d8df291a50883f643ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga68430463f29b1d8df291a50883f643ac">&#9670;&nbsp;</a></span>XCANPS_IXR_RXOK_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_IXR_RXOK_MASK&#160;&#160;&#160;0x00000010U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>New Message Received Intr. </p>

</div>
</div>
<a id="gadb093abe285ffcc4acfbe92175a9ff3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadb093abe285ffcc4acfbe92175a9ff3c">&#9670;&nbsp;</a></span>XCANPS_IXR_RXUFLW_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_IXR_RXUFLW_MASK&#160;&#160;&#160;0x00000020U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>RX FIFO Underflow Interrupt. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gad7c797dfe9aef613d20c2a822ed301dc">XCanPs_IntrHandler()</a>.</p>

</div>
</div>
<a id="ga83a79d0a328234c542de4a6a0615791c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga83a79d0a328234c542de4a6a0615791c">&#9670;&nbsp;</a></span>XCANPS_IXR_SLP_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_IXR_SLP_MASK&#160;&#160;&#160;0x00000400U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Sleep Interrupt. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gad7c797dfe9aef613d20c2a822ed301dc">XCanPs_IntrHandler()</a>.</p>

</div>
</div>
<a id="ga8ac7090cc527801acbb5209a75265072"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8ac7090cc527801acbb5209a75265072">&#9670;&nbsp;</a></span>XCANPS_IXR_TXBFLL_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_IXR_TXBFLL_MASK&#160;&#160;&#160;0x00000008U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>TX High Priority Buf Full. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gad7c797dfe9aef613d20c2a822ed301dc">XCanPs_IntrHandler()</a>.</p>

</div>
</div>
<a id="gaae5de1da0ece29ccfca9d884c55b9bf8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaae5de1da0ece29ccfca9d884c55b9bf8">&#9670;&nbsp;</a></span>XCANPS_IXR_TXFEMP_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_IXR_TXFEMP_MASK&#160;&#160;&#160;0x00004000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Tx Fifo Empty Interrupt. </p>

</div>
</div>
<a id="ga7ee9a029b99b8293db3aa66c34a1db7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7ee9a029b99b8293db3aa66c34a1db7c">&#9670;&nbsp;</a></span>XCANPS_IXR_TXFLL_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_IXR_TXFLL_MASK&#160;&#160;&#160;0x00000004U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>TX FIFO Full Interrupt. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gad7c797dfe9aef613d20c2a822ed301dc">XCanPs_IntrHandler()</a>.</p>

</div>
</div>
<a id="gae0079b661baab2a690b6beab2e259e86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae0079b661baab2a690b6beab2e259e86">&#9670;&nbsp;</a></span>XCANPS_IXR_TXFWMEMP_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_IXR_TXFWMEMP_MASK&#160;&#160;&#160;0x00002000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Tx Fifo Watermark Empty. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gad7c797dfe9aef613d20c2a822ed301dc">XCanPs_IntrHandler()</a>.</p>

</div>
</div>
<a id="ga5270e4112cfc21e4a7ed8c168f2ccb10"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5270e4112cfc21e4a7ed8c168f2ccb10">&#9670;&nbsp;</a></span>XCANPS_IXR_TXOK_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_IXR_TXOK_MASK&#160;&#160;&#160;0x00000002U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>TX Successful Interrupt. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gad7c797dfe9aef613d20c2a822ed301dc">XCanPs_IntrHandler()</a>.</p>

</div>
</div>
<a id="gaa85aec590359fff45d33d12edb43d1fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa85aec590359fff45d33d12edb43d1fd">&#9670;&nbsp;</a></span>XCANPS_IXR_WKUP_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_IXR_WKUP_MASK&#160;&#160;&#160;0x00000800U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Wake up Interrupt. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gad7c797dfe9aef613d20c2a822ed301dc">XCanPs_IntrHandler()</a>.</p>

</div>
</div>
<a id="ga87adc8cfc88e067c42ee749b5e59177a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga87adc8cfc88e067c42ee749b5e59177a">&#9670;&nbsp;</a></span>XCANPS_MAX_FRAME_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_MAX_FRAME_SIZE&#160;&#160;&#160;sizeof(u32)*16U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Maximum CAN frame length in bytes. </p>

</div>
</div>
<a id="ga4e4f2c00506467b58276539cc1c2333e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4e4f2c00506467b58276539cc1c2333e">&#9670;&nbsp;</a></span>XCANPS_MODE_CONFIG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_MODE_CONFIG&#160;&#160;&#160;0x00000001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>

<p>Configuration mode. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga5a32b11e15d347ecae566778bb1c5e33">XCanPs_EnterMode()</a>, <a class="el" href="group__canps__v3__0.html#ga3644ad3aa2b02def735751ed45d207a4">XCanPs_GetMode()</a>, <a class="el" href="group__canps__v3__0.html#ga84d18d801c4f8ab5cc8eeadeff33d8b5">XCanPs_SelfTest()</a>, <a class="el" href="group__canps__v3__0.html#ga0e266c7af58c3b5eaef6e4dcd2354cbe">XCanPs_SetBaudRatePrescaler()</a>, <a class="el" href="group__canps__v3__0.html#gac42876be22acc7e24262120000c4c548">XCanPs_SetBitTiming()</a>, <a class="el" href="group__canps__v3__0.html#ga6c86f833053ec1121fcfad4176dea686">XCanPs_SetRxIntrWatermark()</a>, and <a class="el" href="group__canps__v3__0.html#gaf4147148a66b44ca844ecbe3340ecce3">XCanPs_SetTxIntrWatermark()</a>.</p>

</div>
</div>
<a id="ga815748d9ef7547d7fd43f2b729c3108c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga815748d9ef7547d7fd43f2b729c3108c">&#9670;&nbsp;</a></span>XCANPS_MODE_LOOPBACK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_MODE_LOOPBACK&#160;&#160;&#160;0x00000004U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>

<p>Loop Back mode. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga5a32b11e15d347ecae566778bb1c5e33">XCanPs_EnterMode()</a>, <a class="el" href="group__canps__v3__0.html#ga3644ad3aa2b02def735751ed45d207a4">XCanPs_GetMode()</a>, and <a class="el" href="group__canps__v3__0.html#ga84d18d801c4f8ab5cc8eeadeff33d8b5">XCanPs_SelfTest()</a>.</p>

</div>
</div>
<a id="gabfbce28099a84db3fb8199371fea2053"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabfbce28099a84db3fb8199371fea2053">&#9670;&nbsp;</a></span>XCANPS_MODE_NORMAL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_MODE_NORMAL&#160;&#160;&#160;0x00000002U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>

<p>Normal mode. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga5a32b11e15d347ecae566778bb1c5e33">XCanPs_EnterMode()</a>, and <a class="el" href="group__canps__v3__0.html#ga3644ad3aa2b02def735751ed45d207a4">XCanPs_GetMode()</a>.</p>

</div>
</div>
<a id="gadedb96174b3c7af5c8b82003f3a269fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadedb96174b3c7af5c8b82003f3a269fe">&#9670;&nbsp;</a></span>XCANPS_MODE_SLEEP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_MODE_SLEEP&#160;&#160;&#160;0x00000008U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>

<p>Sleep mode. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga5a32b11e15d347ecae566778bb1c5e33">XCanPs_EnterMode()</a>, and <a class="el" href="group__canps__v3__0.html#ga3644ad3aa2b02def735751ed45d207a4">XCanPs_GetMode()</a>.</p>

</div>
</div>
<a id="ga6f5226ac1abe6816a8a807a1734aa1d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6f5226ac1abe6816a8a807a1734aa1d2">&#9670;&nbsp;</a></span>XCANPS_MODE_SNOOP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_MODE_SNOOP&#160;&#160;&#160;0x00000010U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>

<p>Snoop mode. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga5a32b11e15d347ecae566778bb1c5e33">XCanPs_EnterMode()</a>, and <a class="el" href="group__canps__v3__0.html#ga3644ad3aa2b02def735751ed45d207a4">XCanPs_GetMode()</a>.</p>

</div>
</div>
<a id="ga860c6a31f77ddf683c86b8001bdf67e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga860c6a31f77ddf683c86b8001bdf67e7">&#9670;&nbsp;</a></span>XCANPS_MSR_LBACK_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_MSR_LBACK_MASK&#160;&#160;&#160;0x00000002U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Loop Back Mode Select. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga5a32b11e15d347ecae566778bb1c5e33">XCanPs_EnterMode()</a>.</p>

</div>
</div>
<a id="ga91d2e7710b05c1f1999d26ec4786fe7f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga91d2e7710b05c1f1999d26ec4786fe7f">&#9670;&nbsp;</a></span>XCANPS_MSR_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_MSR_OFFSET&#160;&#160;&#160;0x00000004U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Mode Select Register. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga5a32b11e15d347ecae566778bb1c5e33">XCanPs_EnterMode()</a>.</p>

</div>
</div>
<a id="gaf36c6eced1dfccdfc5729e56795b5ee5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf36c6eced1dfccdfc5729e56795b5ee5">&#9670;&nbsp;</a></span>XCANPS_MSR_SLEEP_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_MSR_SLEEP_MASK&#160;&#160;&#160;0x00000001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Sleep Mode Select. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga5a32b11e15d347ecae566778bb1c5e33">XCanPs_EnterMode()</a>.</p>

</div>
</div>
<a id="ga68373b2f799e7da7d8c508ebcd1dc4f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga68373b2f799e7da7d8c508ebcd1dc4f7">&#9670;&nbsp;</a></span>XCANPS_MSR_SNOOP_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_MSR_SNOOP_MASK&#160;&#160;&#160;0x00000004U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Snoop Mode Select. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga5a32b11e15d347ecae566778bb1c5e33">XCanPs_EnterMode()</a>.</p>

</div>
</div>
<a id="ga6bace9f8a3ecc5df69b5e9611deaa47c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6bace9f8a3ecc5df69b5e9611deaa47c">&#9670;&nbsp;</a></span>XCanPs_ReadReg</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCanPs_ReadReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddr, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">RegOffset&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;Xil_In32((BaseAddr) + (u32)(RegOffset))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>This macro reads the given register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddr</td><td>is the base address of the device. </td></tr>
    <tr><td class="paramname">RegOffset</td><td>is the register offset to be read.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The 32-bit value of the register</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga1cffdc22b01e4b4d3aad5e556bf96d20">XCanPs_AcceptFilterDisable()</a>, <a class="el" href="group__canps__v3__0.html#ga1ec6f79564deff77e496120552004ad8">XCanPs_AcceptFilterEnable()</a>, <a class="el" href="group__canps__v3__0.html#gaf2ac50558c7d926fed54329667d4aaca">XCanPs_AcceptFilterGet()</a>, <a class="el" href="group__canps__v3__0.html#ga52a76621e921b66e70e1bed7a58b72f7">XCanPs_AcceptFilterGetEnabled()</a>, <a class="el" href="group__canps__v3__0.html#gae452283471584ad19f0c854a782640ab">XCanPs_GetBaudRatePrescaler()</a>, <a class="el" href="group__canps__v3__0.html#gaecaff4cbadbea1a01f570a7e6917a027">XCanPs_GetBitTiming()</a>, <a class="el" href="group__canps__v3__0.html#gaecf35feac1fbc0df4029ca4e1150c650">XCanPs_GetBusErrorCounter()</a>, <a class="el" href="group__canps__v3__0.html#ga647e39edd3f7247a5e283e9083d8d285">XCanPs_GetBusErrorStatus()</a>, <a class="el" href="group__canps__v3__0.html#gadc59b9185cd5973cb03ea2bae94b70cb">XCanPs_GetRxIntrWatermark()</a>, <a class="el" href="group__canps__v3__0.html#ga6d87194a88956cbe32f48ea3d25697ef">XCanPs_GetStatus()</a>, <a class="el" href="group__canps__v3__0.html#gaa59c678943abd873688ba4fd16ee0941">XCanPs_GetTxIntrWatermark()</a>, <a class="el" href="group__canps__v3__0.html#gac3325adebecffcb97cb01ff3c75391b0">XCanPs_IntrGetEnabled()</a>, <a class="el" href="group__canps__v3__0.html#gac6640f1ea5f9e4027d67af3b4eec4623">XCanPs_IntrGetStatus()</a>, <a class="el" href="group__canps__v3__0.html#gaf821f77f00b8eca7c564b15d6c8f8b5e">XCanPs_Recv()</a>, <a class="el" href="group__canps__v3__0.html#ga6c86f833053ec1121fcfad4176dea686">XCanPs_SetRxIntrWatermark()</a>, and <a class="el" href="group__canps__v3__0.html#gaf4147148a66b44ca844ecbe3340ecce3">XCanPs_SetTxIntrWatermark()</a>.</p>

</div>
</div>
<a id="ga5df39d1c1c96a98151789ec1e4e75d97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5df39d1c1c96a98151789ec1e4e75d97">&#9670;&nbsp;</a></span>XCANPS_RXFIFO_DLC_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_RXFIFO_DLC_OFFSET&#160;&#160;&#160;0x00000054U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>RX FIFO DLC. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gaf821f77f00b8eca7c564b15d6c8f8b5e">XCanPs_Recv()</a>.</p>

</div>
</div>
<a id="gab81486ca8fa93c5e000320dada489d42"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab81486ca8fa93c5e000320dada489d42">&#9670;&nbsp;</a></span>XCANPS_RXFIFO_DW1_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_RXFIFO_DW1_OFFSET&#160;&#160;&#160;0x00000058U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>RX FIFO Data Word 1. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gaf821f77f00b8eca7c564b15d6c8f8b5e">XCanPs_Recv()</a>.</p>

</div>
</div>
<a id="gaf0b0033445dd41c7d603fb27b2f0bf49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf0b0033445dd41c7d603fb27b2f0bf49">&#9670;&nbsp;</a></span>XCANPS_RXFIFO_DW2_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_RXFIFO_DW2_OFFSET&#160;&#160;&#160;0x0000005CU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>RX FIFO Data Word 2. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gaf821f77f00b8eca7c564b15d6c8f8b5e">XCanPs_Recv()</a>.</p>

</div>
</div>
<a id="ga1e35a066151075f0f6b1fc6fa826db87"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1e35a066151075f0f6b1fc6fa826db87">&#9670;&nbsp;</a></span>XCANPS_RXFIFO_ID_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_RXFIFO_ID_OFFSET&#160;&#160;&#160;0x00000050U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>RX FIFO ID. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gaf821f77f00b8eca7c564b15d6c8f8b5e">XCanPs_Recv()</a>.</p>

</div>
</div>
<a id="ga395ca492e1b1699df527987b3d1b5982"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga395ca492e1b1699df527987b3d1b5982">&#9670;&nbsp;</a></span>XCANPS_SR_ACFBSY_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_SR_ACFBSY_MASK&#160;&#160;&#160;0x00000800U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Acceptance Filter busy. </p>

</div>
</div>
<a id="ga1fed347617a45fbd4aed22079e84e60c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1fed347617a45fbd4aed22079e84e60c">&#9670;&nbsp;</a></span>XCANPS_SR_BBSY_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_SR_BBSY_MASK&#160;&#160;&#160;0x00000020U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Bus Busy. </p>

</div>
</div>
<a id="ga1e46e3e1025b91629fd927a10d9790ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1e46e3e1025b91629fd927a10d9790ba">&#9670;&nbsp;</a></span>XCANPS_SR_BIDLE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_SR_BIDLE_MASK&#160;&#160;&#160;0x00000010U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Bus Idle. </p>

</div>
</div>
<a id="ga370aed28013318d6fccaddb6c39dd8f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga370aed28013318d6fccaddb6c39dd8f4">&#9670;&nbsp;</a></span>XCANPS_SR_CONFIG_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_SR_CONFIG_MASK&#160;&#160;&#160;0x00000001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Configuration Mode. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga3644ad3aa2b02def735751ed45d207a4">XCanPs_GetMode()</a>.</p>

</div>
</div>
<a id="ga4458d7f97a53daf578629a72116ef6b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4458d7f97a53daf578629a72116ef6b0">&#9670;&nbsp;</a></span>XCANPS_SR_ERRWRN_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_SR_ERRWRN_MASK&#160;&#160;&#160;0x00000040U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Error Warning. </p>

</div>
</div>
<a id="ga30d3e067e1af42eb938703bd67dcd44f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga30d3e067e1af42eb938703bd67dcd44f">&#9670;&nbsp;</a></span>XCANPS_SR_ESTAT_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_SR_ESTAT_MASK&#160;&#160;&#160;0x00000180U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Error Status. </p>

</div>
</div>
<a id="gaaaad1372ab538abe678de61e874d2031"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaaaad1372ab538abe678de61e874d2031">&#9670;&nbsp;</a></span>XCANPS_SR_LBACK_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_SR_LBACK_MASK&#160;&#160;&#160;0x00000002U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Loop Back Mode. </p>

</div>
</div>
<a id="ga6431dce1e634178247a140c6635597e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6431dce1e634178247a140c6635597e4">&#9670;&nbsp;</a></span>XCANPS_SR_NORMAL_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_SR_NORMAL_MASK&#160;&#160;&#160;0x00000008U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Normal Mode. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga3644ad3aa2b02def735751ed45d207a4">XCanPs_GetMode()</a>.</p>

</div>
</div>
<a id="gab03b1427d6741629e7c78dccfa818dff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab03b1427d6741629e7c78dccfa818dff">&#9670;&nbsp;</a></span>XCANPS_SR_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_SR_OFFSET&#160;&#160;&#160;0x00000018U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Status Register. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga6d87194a88956cbe32f48ea3d25697ef">XCanPs_GetStatus()</a>.</p>

</div>
</div>
<a id="ga5c19dc6a17f0d0d01e89fd1d667ed335"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5c19dc6a17f0d0d01e89fd1d667ed335">&#9670;&nbsp;</a></span>XCANPS_SR_SLEEP_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_SR_SLEEP_MASK&#160;&#160;&#160;0x00000004U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Sleep Mode. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga3644ad3aa2b02def735751ed45d207a4">XCanPs_GetMode()</a>.</p>

</div>
</div>
<a id="ga94ac17fbb55d32c3b00cd9209240b99e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga94ac17fbb55d32c3b00cd9209240b99e">&#9670;&nbsp;</a></span>XCANPS_SR_SNOOP_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_SR_SNOOP_MASK&#160;&#160;&#160;0x00001000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Snoop Mask. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga3644ad3aa2b02def735751ed45d207a4">XCanPs_GetMode()</a>.</p>

</div>
</div>
<a id="ga1785ab9ad6f36795a567d7503afda2b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1785ab9ad6f36795a567d7503afda2b8">&#9670;&nbsp;</a></span>XCANPS_SR_TXBFLL_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_SR_TXBFLL_MASK&#160;&#160;&#160;0x00000200U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>TX High Priority Buffer full. </p>

</div>
</div>
<a id="gad9255c34d0981002d1b06825ba872c53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad9255c34d0981002d1b06825ba872c53">&#9670;&nbsp;</a></span>XCANPS_SR_TXFLL_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_SR_TXFLL_MASK&#160;&#160;&#160;0x00000400U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>TX FIFO is full. </p>

</div>
</div>
<a id="gaa8660e9bf0230cccd37ef328184411ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa8660e9bf0230cccd37ef328184411ca">&#9670;&nbsp;</a></span>XCANPS_SRR_CEN_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_SRR_CEN_MASK&#160;&#160;&#160;0x00000002U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Can Enable. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga5a32b11e15d347ecae566778bb1c5e33">XCanPs_EnterMode()</a>.</p>

</div>
</div>
<a id="gafb27f73bff57c437925c094d2accbeca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafb27f73bff57c437925c094d2accbeca">&#9670;&nbsp;</a></span>XCANPS_SRR_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_SRR_OFFSET&#160;&#160;&#160;0x00000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Software Reset Register. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga5a32b11e15d347ecae566778bb1c5e33">XCanPs_EnterMode()</a>, <a class="el" href="group__canps__v3__0.html#ga13dce9f4dede25f041852b1c893ebfba">XCanPs_Reset()</a>, and <a class="el" href="group__canps__v3__0.html#ga6ad5768c2d499d8f745b436632d670dd">XCanPs_ResetHw()</a>.</p>

</div>
</div>
<a id="ga4f344431790c6daf1fa330afdafa0bb6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4f344431790c6daf1fa330afdafa0bb6">&#9670;&nbsp;</a></span>XCANPS_SRR_SRST_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_SRR_SRST_MASK&#160;&#160;&#160;0x00000001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Reset. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga13dce9f4dede25f041852b1c893ebfba">XCanPs_Reset()</a>, and <a class="el" href="group__canps__v3__0.html#ga6ad5768c2d499d8f745b436632d670dd">XCanPs_ResetHw()</a>.</p>

</div>
</div>
<a id="ga73ebdb9f11b9c769acc0d2cdc085fdc7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga73ebdb9f11b9c769acc0d2cdc085fdc7">&#9670;&nbsp;</a></span>XCANPS_TCR_CTS_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_TCR_CTS_MASK&#160;&#160;&#160;0x00000001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Clear Timestamp counter mask. </p>

</div>
</div>
<a id="ga9548e23d85404e5d7c99dba105d0ace0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9548e23d85404e5d7c99dba105d0ace0">&#9670;&nbsp;</a></span>XCANPS_TCR_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_TCR_OFFSET&#160;&#160;&#160;0x00000028U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Timestamp Control Register. </p>

</div>
</div>
<a id="gaf75023bc197ce872c17549d713df9554"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf75023bc197ce872c17549d713df9554">&#9670;&nbsp;</a></span>XCANPS_TXFIFO_DLC_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_TXFIFO_DLC_OFFSET&#160;&#160;&#160;0x00000034U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>TX FIFO DLC. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga4bea2b2b897bad064ebbf6c87a934a40">XCanPs_Send()</a>.</p>

</div>
</div>
<a id="gacd9cd2454a08413ca93d0d930259a512"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacd9cd2454a08413ca93d0d930259a512">&#9670;&nbsp;</a></span>XCANPS_TXFIFO_DW1_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_TXFIFO_DW1_OFFSET&#160;&#160;&#160;0x00000038U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>TX FIFO Data Word 1. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga4bea2b2b897bad064ebbf6c87a934a40">XCanPs_Send()</a>.</p>

</div>
</div>
<a id="ga013a534f0c8c386429c5cfb9c513f114"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga013a534f0c8c386429c5cfb9c513f114">&#9670;&nbsp;</a></span>XCANPS_TXFIFO_DW2_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_TXFIFO_DW2_OFFSET&#160;&#160;&#160;0x0000003CU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>TX FIFO Data Word 2. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga4bea2b2b897bad064ebbf6c87a934a40">XCanPs_Send()</a>.</p>

</div>
</div>
<a id="gacb31377ed96f3942ad04a2d1cc671e0b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacb31377ed96f3942ad04a2d1cc671e0b">&#9670;&nbsp;</a></span>XCANPS_TXFIFO_ID_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_TXFIFO_ID_OFFSET&#160;&#160;&#160;0x00000030U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>TX FIFO ID. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga4bea2b2b897bad064ebbf6c87a934a40">XCanPs_Send()</a>.</p>

</div>
</div>
<a id="ga77cb2726abe4719e42371b4925de121c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga77cb2726abe4719e42371b4925de121c">&#9670;&nbsp;</a></span>XCANPS_TXHPB_DLC_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_TXHPB_DLC_OFFSET&#160;&#160;&#160;0x00000044U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>TX High Priority Buffer DLC. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga64f46d8713f6e3d4c62047d6b9ddbebf">XCanPs_SendHighPriority()</a>.</p>

</div>
</div>
<a id="ga69e8639d7e62a61f25cff6be0637bee2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga69e8639d7e62a61f25cff6be0637bee2">&#9670;&nbsp;</a></span>XCANPS_TXHPB_DW1_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_TXHPB_DW1_OFFSET&#160;&#160;&#160;0x00000048U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>TX High Priority Buf Data 1. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga64f46d8713f6e3d4c62047d6b9ddbebf">XCanPs_SendHighPriority()</a>.</p>

</div>
</div>
<a id="ga44b907a14b92140955ab6a16fe0264d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga44b907a14b92140955ab6a16fe0264d8">&#9670;&nbsp;</a></span>XCANPS_TXHPB_DW2_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_TXHPB_DW2_OFFSET&#160;&#160;&#160;0x0000004CU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>TX High Priority Buf Data Word 2. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga64f46d8713f6e3d4c62047d6b9ddbebf">XCanPs_SendHighPriority()</a>.</p>

</div>
</div>
<a id="ga5c6477d3dc9fa44898e0c45848784fd3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5c6477d3dc9fa44898e0c45848784fd3">&#9670;&nbsp;</a></span>XCANPS_TXHPB_ID_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_TXHPB_ID_OFFSET&#160;&#160;&#160;0x00000040U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>TX High Priority Buffer ID. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga64f46d8713f6e3d4c62047d6b9ddbebf">XCanPs_SendHighPriority()</a>.</p>

</div>
</div>
<a id="ga47696ac14c38ae7091315ac7fb52c5c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga47696ac14c38ae7091315ac7fb52c5c6">&#9670;&nbsp;</a></span>XCANPS_WIR_EW_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_WIR_EW_MASK&#160;&#160;&#160;0x00003F00U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Tx Empty Threshold mask. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gaa59c678943abd873688ba4fd16ee0941">XCanPs_GetTxIntrWatermark()</a>, <a class="el" href="group__canps__v3__0.html#ga6c86f833053ec1121fcfad4176dea686">XCanPs_SetRxIntrWatermark()</a>, and <a class="el" href="group__canps__v3__0.html#gaf4147148a66b44ca844ecbe3340ecce3">XCanPs_SetTxIntrWatermark()</a>.</p>

</div>
</div>
<a id="ga2e6e7ab6cde78ab992a1084ec540ac68"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2e6e7ab6cde78ab992a1084ec540ac68">&#9670;&nbsp;</a></span>XCANPS_WIR_EW_SHIFT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_WIR_EW_SHIFT&#160;&#160;&#160;0x00000008U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Tx Empty Threshold shift. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gaa59c678943abd873688ba4fd16ee0941">XCanPs_GetTxIntrWatermark()</a>, and <a class="el" href="group__canps__v3__0.html#gaf4147148a66b44ca844ecbe3340ecce3">XCanPs_SetTxIntrWatermark()</a>.</p>

</div>
</div>
<a id="ga6d56baf5cc7a7eb6c54f3f2255e2291a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6d56baf5cc7a7eb6c54f3f2255e2291a">&#9670;&nbsp;</a></span>XCANPS_WIR_FW_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_WIR_FW_MASK&#160;&#160;&#160;0x0000003FU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Rx Full Threshold mask. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gadc59b9185cd5973cb03ea2bae94b70cb">XCanPs_GetRxIntrWatermark()</a>, <a class="el" href="group__canps__v3__0.html#ga6c86f833053ec1121fcfad4176dea686">XCanPs_SetRxIntrWatermark()</a>, and <a class="el" href="group__canps__v3__0.html#gaf4147148a66b44ca844ecbe3340ecce3">XCanPs_SetTxIntrWatermark()</a>.</p>

</div>
</div>
<a id="gafc95b4cb9252a27181088ceb7ea55368"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafc95b4cb9252a27181088ceb7ea55368">&#9670;&nbsp;</a></span>XCANPS_WIR_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCANPS_WIR_OFFSET&#160;&#160;&#160;0x0000002CU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>Watermark Interrupt Reg. </p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gadc59b9185cd5973cb03ea2bae94b70cb">XCanPs_GetRxIntrWatermark()</a>, <a class="el" href="group__canps__v3__0.html#gaa59c678943abd873688ba4fd16ee0941">XCanPs_GetTxIntrWatermark()</a>, <a class="el" href="group__canps__v3__0.html#ga6c86f833053ec1121fcfad4176dea686">XCanPs_SetRxIntrWatermark()</a>, and <a class="el" href="group__canps__v3__0.html#gaf4147148a66b44ca844ecbe3340ecce3">XCanPs_SetTxIntrWatermark()</a>.</p>

</div>
</div>
<a id="ga54552fe78115d81806e23a03646efb55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga54552fe78115d81806e23a03646efb55">&#9670;&nbsp;</a></span>XCanPs_WriteReg</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCanPs_WriteReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddr, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">RegOffset, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">Data&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;Xil_Out32((BaseAddr) + (u32)(RegOffset), (u32)(Data))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>&gt;</code></p>

<p>This macro writes the given register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddr</td><td>is the base address of the device. </td></tr>
    <tr><td class="paramname">RegOffset</td><td>is the register offset to be written. </td></tr>
    <tr><td class="paramname">Data</td><td>is the 32-bit value to write to the register.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga4de284fb96ea457b047c41fbd73ada44">XCanPs_AcceptFilterSet()</a>, <a class="el" href="group__canps__v3__0.html#ga616ac01563ef3d8f9ae57bf308bad534">XCanPs_ClearBusErrorStatus()</a>, <a class="el" href="group__canps__v3__0.html#ga5a32b11e15d347ecae566778bb1c5e33">XCanPs_EnterMode()</a>, <a class="el" href="group__canps__v3__0.html#gae573e5472755420a3b6ded5d01814534">XCanPs_IntrClear()</a>, <a class="el" href="group__canps__v3__0.html#ga6228ea25a1ccf31608231b07f3ae54a7">XCanPs_IntrDisable()</a>, <a class="el" href="group__canps__v3__0.html#ga06e4eda1022a81ea619ac7d66e345577">XCanPs_IntrEnable()</a>, <a class="el" href="group__canps__v3__0.html#ga13dce9f4dede25f041852b1c893ebfba">XCanPs_Reset()</a>, <a class="el" href="group__canps__v3__0.html#ga6ad5768c2d499d8f745b436632d670dd">XCanPs_ResetHw()</a>, <a class="el" href="group__canps__v3__0.html#ga4bea2b2b897bad064ebbf6c87a934a40">XCanPs_Send()</a>, <a class="el" href="group__canps__v3__0.html#ga64f46d8713f6e3d4c62047d6b9ddbebf">XCanPs_SendHighPriority()</a>, <a class="el" href="group__canps__v3__0.html#ga0e266c7af58c3b5eaef6e4dcd2354cbe">XCanPs_SetBaudRatePrescaler()</a>, <a class="el" href="group__canps__v3__0.html#ga6c86f833053ec1121fcfad4176dea686">XCanPs_SetRxIntrWatermark()</a>, and <a class="el" href="group__canps__v3__0.html#gaf4147148a66b44ca844ecbe3340ecce3">XCanPs_SetTxIntrWatermark()</a>.</p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="ga4ee4a107de8795cfe822285d6ea8997b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4ee4a107de8795cfe822285d6ea8997b">&#9670;&nbsp;</a></span>XCanPs_ErrorHandler</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* XCanPs_ErrorHandler) (void *CallBackRef, u32 ErrorMask)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>

<p>Callback type for error interrupt. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallBackRef</td><td>is a callback reference passed in by the upper layer when setting the callback functions, and passed back to the upper layer when the callback is invoked. </td></tr>
    <tr><td class="paramname">ErrorMask</td><td>is a bit mask indicating the cause of the error. Its value equals 'OR'ing one or more XCANPS_ESR_* values defined in <a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gafc877b65a87db5d902e4a863a11d9687"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafc877b65a87db5d902e4a863a11d9687">&#9670;&nbsp;</a></span>XCanPs_EventHandler</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* XCanPs_EventHandler) (void *CallBackRef, u32 Mask)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>

<p>Callback type for all kinds of interrupts except sending frame interrupt, receiving frame interrupt, and error interrupt. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallBackRef</td><td>is a callback reference passed in by the upper layer when setting the callback functions, and passed back to the upper layer when the callback is invoked. </td></tr>
    <tr><td class="paramname">Mask</td><td>is a bit mask indicating the pending interrupts. Its value equals 'OR'ing one or more XCANPS_IXR_* defined in <a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gad6ed03f509c760e08ab96238349218ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad6ed03f509c760e08ab96238349218ad">&#9670;&nbsp;</a></span>XCanPs_SendRecvHandler</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* XCanPs_SendRecvHandler) (void *CallBackRef)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>

<p>Callback type for frame sending and reception interrupts. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallBackRef</td><td>is a callback reference passed in by the upper layer when setting the callback functions, and passed back to the upper layer when the callback is invoked. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga1cffdc22b01e4b4d3aad5e556bf96d20"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1cffdc22b01e4b4d3aad5e556bf96d20">&#9670;&nbsp;</a></span>XCanPs_AcceptFilterDisable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCanPs_AcceptFilterDisable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>FilterIndexes</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8c.html">xcanps.c</a>&gt;</code></p>

<p>This routine disables individual acceptance filters. </p>
<p>Up to 4 filters could be disabled. If all acceptance filters are disabled then all the received frames are stored in the RX FIFO.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance. </td></tr>
    <tr><td class="paramname">FilterIndexes</td><td>specifies which filter(s) to disable. Use any XCANPS_AFR_UAF*_MASK to disable one filter, and "Or" multiple XCANPS_AFR_UAF*_MASK values if multiple filters need to be disabled. Any filter not specified in this parameter will keep its previous enable/disable setting. If all acceptance filters are disabled then all received frames are stored in the RX FIFO.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#ga8525441daf41ee14d7d27f23408861e4">XCANPS_AFR_OFFSET</a>, and <a class="el" href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a>.</p>

</div>
</div>
<a id="ga1ec6f79564deff77e496120552004ad8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1ec6f79564deff77e496120552004ad8">&#9670;&nbsp;</a></span>XCanPs_AcceptFilterEnable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCanPs_AcceptFilterEnable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>FilterIndexes</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8c.html">xcanps.c</a>&gt;</code></p>

<p>This routine enables individual acceptance filters. </p>
<p>Up to 4 filters could be enabled.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance. </td></tr>
    <tr><td class="paramname">FilterIndexes</td><td>specifies which filter(s) to enable. Use any XCANPS_AFR_UAF*_MASK to enable one filter, and "Or" multiple XCANPS_AFR_UAF*_MASK values if multiple filters need to be enabled. Any filter not specified in this parameter will keep its previous enable/disable setting.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#ga8525441daf41ee14d7d27f23408861e4">XCANPS_AFR_OFFSET</a>, and <a class="el" href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a>.</p>

</div>
</div>
<a id="gaf2ac50558c7d926fed54329667d4aaca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf2ac50558c7d926fed54329667d4aaca">&#9670;&nbsp;</a></span>XCanPs_AcceptFilterGet()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCanPs_AcceptFilterGet </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>FilterIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32 *&#160;</td>
          <td class="paramname"><em>MaskValue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32 *&#160;</td>
          <td class="paramname"><em>IdValue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8c.html">xcanps.c</a>&gt;</code></p>

<p>This function reads the values of the Acceptance Filter Mask and ID Register for the specified Acceptance Filter. </p>
<p>Use XCANPS_IDR_* defined in <a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a> to interpret the values. Read the <a class="el" href="xcanps_8h.html">xcanps.h</a> file and device specification for details.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance. </td></tr>
    <tr><td class="paramname">FilterIndex</td><td>defines which Acceptance Filter Mask Register to get Mask and ID from. Use any single XCANPS_FILTER_* value. </td></tr>
    <tr><td class="paramname">MaskValue</td><td>is a pointer to the data in which the Mask value read from the chosen Acceptance Filter Mask Register is returned. </td></tr>
    <tr><td class="paramname">IdValue</td><td>is a pointer to the data in which the ID value read from the chosen Acceptance Filter ID Register is returned.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#ga0276ddb753573f4e0e7e13a5fa67b2c8">XCANPS_AFIR1_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#ga4c3499a588eaaf69085cc430ebb307d4">XCANPS_AFIR2_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#ga3ccf7c7b51e73147c839cf304434e197">XCANPS_AFIR3_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#ga0df09bfd99ee8271149cd25cc0cde463">XCANPS_AFIR4_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#ga6a46ac3e01263720489d12d2434f8da6">XCANPS_AFMR1_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#gaeb3aa3cbaec57000d6277186cec0d9bc">XCANPS_AFMR2_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#ga7e207d923ee0ac71efb22f54e1026189">XCANPS_AFMR3_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#gaebde5cf5bdaa29b3701b33609a4416c0">XCANPS_AFMR4_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#gabde095aa619a3485599cf97c2bca57b5">XCANPS_AFR_UAF1_MASK</a>, <a class="el" href="group__canps__v3__0.html#ga3ad179f930a2c29de945fabfddefc7d2">XCANPS_AFR_UAF2_MASK</a>, <a class="el" href="group__canps__v3__0.html#ga4a2436988a3530bb49220dc20dd878bd">XCANPS_AFR_UAF3_MASK</a>, <a class="el" href="group__canps__v3__0.html#ga5e43518568ed23a47adea5a9d16e5036">XCANPS_AFR_UAF4_MASK</a>, and <a class="el" href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a>.</p>

</div>
</div>
<a id="ga52a76621e921b66e70e1bed7a58b72f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga52a76621e921b66e70e1bed7a58b72f7">&#9670;&nbsp;</a></span>XCanPs_AcceptFilterGetEnabled()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XCanPs_AcceptFilterGetEnabled </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8c.html">xcanps.c</a>&gt;</code></p>

<p>This function returns enabled acceptance filters. </p>
<p>Use XCANPS_AFR_UAF*_MASK defined in <a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a> to interpret the returned value. If no acceptance filters are enabled then all received frames are stored in the RX FIFO.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value stored in Acceptance Filter Register.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#ga8525441daf41ee14d7d27f23408861e4">XCANPS_AFR_OFFSET</a>, and <a class="el" href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a>.</p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga4de284fb96ea457b047c41fbd73ada44">XCanPs_AcceptFilterSet()</a>.</p>

</div>
</div>
<a id="ga4de284fb96ea457b047c41fbd73ada44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4de284fb96ea457b047c41fbd73ada44">&#9670;&nbsp;</a></span>XCanPs_AcceptFilterSet()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XCanPs_AcceptFilterSet </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>FilterIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>MaskValue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>IdValue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8c.html">xcanps.c</a>&gt;</code></p>

<p>This function sets values to the Acceptance Filter Mask Register (AFMR) and Acceptance Filter ID Register (AFIR) for the specified Acceptance Filter. </p>
<p>Use XCANPS_IDR_* defined in <a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a> to create the values to set the filter. Read the <a class="el" href="xcanps_8h.html">xcanps.h</a> file and device specification for details.</p>
<p>This function should be called only after:</p><ul>
<li>The given filter is disabled by calling <a class="el" href="group__canps__v3__0.html#ga1cffdc22b01e4b4d3aad5e556bf96d20" title="This routine disables individual acceptance filters. ">XCanPs_AcceptFilterDisable()</a></li>
<li>And the CAN device is ready to accept writes to AFMR and AFIR, i.e., <a class="el" href="group__canps__v3__0.html#gaecacd08d0192291be2907ddad81602c5" title="This macro checks if the CAN device is ready for the driver to change Acceptance Filter Identifier Re...">XCanPs_IsAcceptFilterBusy()</a> returns FALSE.</li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance. </td></tr>
    <tr><td class="paramname">FilterIndex</td><td>defines which Acceptance Filter Mask and ID Register to set. Use any single XCANPS_AFR_UAF*_MASK value. </td></tr>
    <tr><td class="paramname">MaskValue</td><td>is the value to write to the chosen Acceptance Filter Mask Register. </td></tr>
    <tr><td class="paramname">IdValue</td><td>is the value to write to the chosen Acceptance Filter ID Register.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if the values were set successfully.</li>
<li>XST_FAILURE if the given filter was not disabled, or the CAN device was not ready to accept writes to AFMR and AFIR.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#ga52a76621e921b66e70e1bed7a58b72f7">XCanPs_AcceptFilterGetEnabled()</a>, <a class="el" href="group__canps__v3__0.html#ga0276ddb753573f4e0e7e13a5fa67b2c8">XCANPS_AFIR1_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#ga4c3499a588eaaf69085cc430ebb307d4">XCANPS_AFIR2_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#ga3ccf7c7b51e73147c839cf304434e197">XCANPS_AFIR3_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#ga0df09bfd99ee8271149cd25cc0cde463">XCANPS_AFIR4_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#ga6a46ac3e01263720489d12d2434f8da6">XCANPS_AFMR1_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#gaeb3aa3cbaec57000d6277186cec0d9bc">XCANPS_AFMR2_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#ga7e207d923ee0ac71efb22f54e1026189">XCANPS_AFMR3_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#gaebde5cf5bdaa29b3701b33609a4416c0">XCANPS_AFMR4_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#gabde095aa619a3485599cf97c2bca57b5">XCANPS_AFR_UAF1_MASK</a>, <a class="el" href="group__canps__v3__0.html#ga3ad179f930a2c29de945fabfddefc7d2">XCANPS_AFR_UAF2_MASK</a>, <a class="el" href="group__canps__v3__0.html#ga4a2436988a3530bb49220dc20dd878bd">XCANPS_AFR_UAF3_MASK</a>, <a class="el" href="group__canps__v3__0.html#ga5e43518568ed23a47adea5a9d16e5036">XCANPS_AFR_UAF4_MASK</a>, <a class="el" href="group__canps__v3__0.html#gaecacd08d0192291be2907ddad81602c5">XCanPs_IsAcceptFilterBusy</a>, and <a class="el" href="group__canps__v3__0.html#ga54552fe78115d81806e23a03646efb55">XCanPs_WriteReg</a>.</p>

</div>
</div>
<a id="ga616ac01563ef3d8f9ae57bf308bad534"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga616ac01563ef3d8f9ae57bf308bad534">&#9670;&nbsp;</a></span>XCanPs_ClearBusErrorStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCanPs_ClearBusErrorStatus </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8c.html">xcanps.c</a>&gt;</code></p>

<p>This function clears Error Status bit(s) previously set in Error Status Register (ESR). </p>
<p>Use the XCANPS_ESR_* constants defined in <a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a> to create the value to pass in. If a bit was cleared in Error Status Register before this function is called, it will not be modified.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance.</td></tr>
    <tr><td class="paramname">Mask</td><td>is he 32-bit mask used to clear bits in Error Status Register. Multiple XCANPS_ESR_* values can be 'OR'ed to clear multiple bits.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#ga9fcd5569b88b35770450468eb08ba7ea">XCANPS_ESR_OFFSET</a>, and <a class="el" href="group__canps__v3__0.html#ga54552fe78115d81806e23a03646efb55">XCanPs_WriteReg</a>.</p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gad7c797dfe9aef613d20c2a822ed301dc">XCanPs_IntrHandler()</a>.</p>

</div>
</div>
<a id="ga5a32b11e15d347ecae566778bb1c5e33"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5a32b11e15d347ecae566778bb1c5e33">&#9670;&nbsp;</a></span>XCanPs_EnterMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCanPs_EnterMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>OperationMode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8c.html">xcanps.c</a>&gt;</code></p>

<p>This function allows the CAN device to enter one of the following operation modes: </p>
<ul>
<li>Configuration Mode: Pass in parameter XCANPS_MODE_CONFIG</li>
<li>Sleep Mode: Pass in parameter XCANPS_MODE_SLEEP</li>
<li>Normal Mode: Pass in parameter XCANPS_MODE_NORMAL</li>
<li>Loop Back Mode: Pass in parameter XCANPS_MODE_LOOPBACK.</li>
<li>Snoop Mode: Pass in parameter XCANPS_MODE_SNOOP.</li>
</ul>
<p>Read the <a class="el" href="xcanps_8h.html">xcanps.h</a> file and device specification for detailed description of each operation mode.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance. </td></tr>
    <tr><td class="paramname">OperationMode</td><td>specify which operation mode to enter. Valid value is any of XCANPS_MODE_* defined in <a class="el" href="xcanps_8h.html">xcanps.h</a>. Multiple modes can not be entered at the same time.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd></dd></dl>
<p>This function does NOT ensure CAN device enters the specified operation mode before it returns the control to the caller. The caller is responsible for checking current operation mode using <a class="el" href="group__canps__v3__0.html#ga3644ad3aa2b02def735751ed45d207a4" title="This routine returns the current operation mode of the CAN device. ">XCanPs_GetMode()</a>. </p>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#ga3644ad3aa2b02def735751ed45d207a4">XCanPs_GetMode()</a>, <a class="el" href="group__canps__v3__0.html#ga4e4f2c00506467b58276539cc1c2333e">XCANPS_MODE_CONFIG</a>, <a class="el" href="group__canps__v3__0.html#ga815748d9ef7547d7fd43f2b729c3108c">XCANPS_MODE_LOOPBACK</a>, <a class="el" href="group__canps__v3__0.html#gabfbce28099a84db3fb8199371fea2053">XCANPS_MODE_NORMAL</a>, <a class="el" href="group__canps__v3__0.html#gadedb96174b3c7af5c8b82003f3a269fe">XCANPS_MODE_SLEEP</a>, <a class="el" href="group__canps__v3__0.html#ga6f5226ac1abe6816a8a807a1734aa1d2">XCANPS_MODE_SNOOP</a>, <a class="el" href="group__canps__v3__0.html#ga860c6a31f77ddf683c86b8001bdf67e7">XCANPS_MSR_LBACK_MASK</a>, <a class="el" href="group__canps__v3__0.html#ga91d2e7710b05c1f1999d26ec4786fe7f">XCANPS_MSR_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#gaf36c6eced1dfccdfc5729e56795b5ee5">XCANPS_MSR_SLEEP_MASK</a>, <a class="el" href="group__canps__v3__0.html#ga68373b2f799e7da7d8c508ebcd1dc4f7">XCANPS_MSR_SNOOP_MASK</a>, <a class="el" href="group__canps__v3__0.html#gaa8660e9bf0230cccd37ef328184411ca">XCANPS_SRR_CEN_MASK</a>, <a class="el" href="group__canps__v3__0.html#gafb27f73bff57c437925c094d2accbeca">XCANPS_SRR_OFFSET</a>, and <a class="el" href="group__canps__v3__0.html#ga54552fe78115d81806e23a03646efb55">XCanPs_WriteReg</a>.</p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga84d18d801c4f8ab5cc8eeadeff33d8b5">XCanPs_SelfTest()</a>.</p>

</div>
</div>
<a id="gae452283471584ad19f0c854a782640ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae452283471584ad19f0c854a782640ab">&#9670;&nbsp;</a></span>XCanPs_GetBaudRatePrescaler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XCanPs_GetBaudRatePrescaler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8c.html">xcanps.c</a>&gt;</code></p>

<p>This routine gets Baud Rate Prescaler value. </p>
<p>The system clock for the CAN controller is divided by (Prescaler + 1) to generate the quantum clock needed for sampling and synchronization. Read the device specification for details.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Current used Baud Rate Prescaler value. The value's range is from 0 to 255.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#ga9da53efdc3565439b3a73e896ac2256f">XCANPS_BRPR_OFFSET</a>, and <a class="el" href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a>.</p>

</div>
</div>
<a id="gaecaff4cbadbea1a01f570a7e6917a027"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaecaff4cbadbea1a01f570a7e6917a027">&#9670;&nbsp;</a></span>XCanPs_GetBitTiming()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCanPs_GetBitTiming </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>SyncJumpWidth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>TimeSegment2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>TimeSegment1</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8c.html">xcanps.c</a>&gt;</code></p>

<p>This routine gets Bit time. </p>
<p>Time segment 1, Time segment 2 and Synchronization Jump Width values are read in this function. According to device specification, the actual value of each of these fields is one more than the value read. Read the device specification for details.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance. </td></tr>
    <tr><td class="paramname">SyncJumpWidth</td><td>will store the Synchronization Jump Width value after this function returns. Its value ranges from 0 to 3. </td></tr>
    <tr><td class="paramname">TimeSegment2</td><td>will store the Time Segment 2 value after this function returns. Its value ranges from 0 to 7. </td></tr>
    <tr><td class="paramname">TimeSegment1</td><td>will store the Time Segment 1 value after this function returns. Its value ranges from 0 to 15.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#gaf746ee190f7157c3508ed6a40a87a69a">XCANPS_BTR_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#gaa00268720875bafc99c8bb93d8d1094e">XCANPS_BTR_TS1_MASK</a>, <a class="el" href="group__canps__v3__0.html#gac1d9027df8de8ce8fb521677251601aa">XCANPS_BTR_TS2_MASK</a>, and <a class="el" href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a>.</p>

</div>
</div>
<a id="gaecf35feac1fbc0df4029ca4e1150c650"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaecf35feac1fbc0df4029ca4e1150c650">&#9670;&nbsp;</a></span>XCanPs_GetBusErrorCounter()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCanPs_GetBusErrorCounter </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>RxErrorCount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>TxErrorCount</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8c.html">xcanps.c</a>&gt;</code></p>

<p>This function reads Receive and Transmit error counters. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance. </td></tr>
    <tr><td class="paramname">RxErrorCount</td><td>is a pointer to data in which the Receive Error counter value is returned. </td></tr>
    <tr><td class="paramname">TxErrorCount</td><td>is a pointer to data in which the Transmit Error counter value is returned.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#ga116d4c70b44ccceacd85b97f93caffed">XCANPS_ECR_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#ga431d070fafedc970ffbd0b4332aece9e">XCANPS_ECR_REC_MASK</a>, and <a class="el" href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a>.</p>

</div>
</div>
<a id="ga647e39edd3f7247a5e283e9083d8d285"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga647e39edd3f7247a5e283e9083d8d285">&#9670;&nbsp;</a></span>XCanPs_GetBusErrorStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XCanPs_GetBusErrorStatus </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8c.html">xcanps.c</a>&gt;</code></p>

<p>This function reads Error Status value from Error Status Register (ESR). </p>
<p>Use the XCANPS_ESR_* constants defined in <a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a> to interpret the returned value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The 32-bit value read from Error Status Register.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#ga9fcd5569b88b35770450468eb08ba7ea">XCANPS_ESR_OFFSET</a>, and <a class="el" href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a>.</p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gad7c797dfe9aef613d20c2a822ed301dc">XCanPs_IntrHandler()</a>.</p>

</div>
</div>
<a id="ga3644ad3aa2b02def735751ed45d207a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3644ad3aa2b02def735751ed45d207a4">&#9670;&nbsp;</a></span>XCanPs_GetMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XCanPs_GetMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8c.html">xcanps.c</a>&gt;</code></p>

<p>This routine returns the current operation mode of the CAN device. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XCANPS_MODE_CONFIG if the device is in Configuration Mode.</li>
<li>XCANPS_MODE_SLEEP if the device is in Sleep Mode.</li>
<li>XCANPS_MODE_NORMAL if the device is in Normal Mode.</li>
<li>XCANPS_MODE_LOOPBACK if the device is in Loop Back Mode.</li>
<li>XCANPS_MODE_SNOOP if the device is in Snoop Mode.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#ga6d87194a88956cbe32f48ea3d25697ef">XCanPs_GetStatus()</a>, <a class="el" href="group__canps__v3__0.html#ga4e4f2c00506467b58276539cc1c2333e">XCANPS_MODE_CONFIG</a>, <a class="el" href="group__canps__v3__0.html#ga815748d9ef7547d7fd43f2b729c3108c">XCANPS_MODE_LOOPBACK</a>, <a class="el" href="group__canps__v3__0.html#gabfbce28099a84db3fb8199371fea2053">XCANPS_MODE_NORMAL</a>, <a class="el" href="group__canps__v3__0.html#gadedb96174b3c7af5c8b82003f3a269fe">XCANPS_MODE_SLEEP</a>, <a class="el" href="group__canps__v3__0.html#ga6f5226ac1abe6816a8a807a1734aa1d2">XCANPS_MODE_SNOOP</a>, <a class="el" href="group__canps__v3__0.html#ga370aed28013318d6fccaddb6c39dd8f4">XCANPS_SR_CONFIG_MASK</a>, <a class="el" href="group__canps__v3__0.html#ga6431dce1e634178247a140c6635597e4">XCANPS_SR_NORMAL_MASK</a>, <a class="el" href="group__canps__v3__0.html#ga5c19dc6a17f0d0d01e89fd1d667ed335">XCANPS_SR_SLEEP_MASK</a>, and <a class="el" href="group__canps__v3__0.html#ga94ac17fbb55d32c3b00cd9209240b99e">XCANPS_SR_SNOOP_MASK</a>.</p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga5a32b11e15d347ecae566778bb1c5e33">XCanPs_EnterMode()</a>, <a class="el" href="group__canps__v3__0.html#ga84d18d801c4f8ab5cc8eeadeff33d8b5">XCanPs_SelfTest()</a>, <a class="el" href="group__canps__v3__0.html#ga0e266c7af58c3b5eaef6e4dcd2354cbe">XCanPs_SetBaudRatePrescaler()</a>, <a class="el" href="group__canps__v3__0.html#gac42876be22acc7e24262120000c4c548">XCanPs_SetBitTiming()</a>, <a class="el" href="group__canps__v3__0.html#ga6c86f833053ec1121fcfad4176dea686">XCanPs_SetRxIntrWatermark()</a>, and <a class="el" href="group__canps__v3__0.html#gaf4147148a66b44ca844ecbe3340ecce3">XCanPs_SetTxIntrWatermark()</a>.</p>

</div>
</div>
<a id="gadc59b9185cd5973cb03ea2bae94b70cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadc59b9185cd5973cb03ea2bae94b70cb">&#9670;&nbsp;</a></span>XCanPs_GetRxIntrWatermark()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XCanPs_GetRxIntrWatermark </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8c.html">xcanps.c</a>&gt;</code></p>

<p>This routine gets the Rx Full threshold from the Watermark Interrupt Register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The Rx FIFO full watermark threshold value. The valid values are 1 to 63.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a>, <a class="el" href="group__canps__v3__0.html#ga6d56baf5cc7a7eb6c54f3f2255e2291a">XCANPS_WIR_FW_MASK</a>, and <a class="el" href="group__canps__v3__0.html#gafc95b4cb9252a27181088ceb7ea55368">XCANPS_WIR_OFFSET</a>.</p>

</div>
</div>
<a id="ga6d87194a88956cbe32f48ea3d25697ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6d87194a88956cbe32f48ea3d25697ef">&#9670;&nbsp;</a></span>XCanPs_GetStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XCanPs_GetStatus </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8c.html">xcanps.c</a>&gt;</code></p>

<p>This function returns Status value from Status Register (SR). </p>
<p>Use the XCANPS_SR_* constants defined in <a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a> to interpret the returned value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The 32-bit value read from Status Register.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a>, and <a class="el" href="group__canps__v3__0.html#gab03b1427d6741629e7c78dccfa818dff">XCANPS_SR_OFFSET</a>.</p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga3644ad3aa2b02def735751ed45d207a4">XCanPs_GetMode()</a>.</p>

</div>
</div>
<a id="gaa59c678943abd873688ba4fd16ee0941"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa59c678943abd873688ba4fd16ee0941">&#9670;&nbsp;</a></span>XCanPs_GetTxIntrWatermark()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XCanPs_GetTxIntrWatermark </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8c.html">xcanps.c</a>&gt;</code></p>

<p>This routine gets the Tx Empty threshold from Watermark Interrupt Register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The Tx Empty FIFO threshold value. The valid values are 1 to 63.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a>, <a class="el" href="group__canps__v3__0.html#ga47696ac14c38ae7091315ac7fb52c5c6">XCANPS_WIR_EW_MASK</a>, <a class="el" href="group__canps__v3__0.html#ga2e6e7ab6cde78ab992a1084ec540ac68">XCANPS_WIR_EW_SHIFT</a>, and <a class="el" href="group__canps__v3__0.html#gafc95b4cb9252a27181088ceb7ea55368">XCANPS_WIR_OFFSET</a>.</p>

</div>
</div>
<a id="gae573e5472755420a3b6ded5d01814534"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae573e5472755420a3b6ded5d01814534">&#9670;&nbsp;</a></span>XCanPs_IntrClear()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCanPs_IntrClear </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>

<p>This function clears interrupt(s). </p>
<p>Every bit set in Interrupt Status Register indicates that a specific type of interrupt is occurring, and this function clears one or more interrupts by writing a bit mask to Interrupt Clear Register.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance. </td></tr>
    <tr><td class="paramname">Mask</td><td>is the mask to clear. Bit positions of 1 will be cleared. Bit positions of 0 will not change the previous interrupt status. This mask is formed by OR'ing XCANPS_IXR_* bits defined in <a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#gad00a5deeda33258d922282e6fa62e876">XCANPS_ICR_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#gac6640f1ea5f9e4027d67af3b4eec4623">XCanPs_IntrGetStatus()</a>, and <a class="el" href="group__canps__v3__0.html#ga54552fe78115d81806e23a03646efb55">XCanPs_WriteReg</a>.</p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gad7c797dfe9aef613d20c2a822ed301dc">XCanPs_IntrHandler()</a>, and <a class="el" href="group__canps__v3__0.html#gaf821f77f00b8eca7c564b15d6c8f8b5e">XCanPs_Recv()</a>.</p>

</div>
</div>
<a id="ga6228ea25a1ccf31608231b07f3ae54a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6228ea25a1ccf31608231b07f3ae54a7">&#9670;&nbsp;</a></span>XCanPs_IntrDisable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCanPs_IntrDisable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>

<p>This routine disables interrupt(s). </p>
<p>Use the XCANPS_IXR_* constants defined in <a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a> to create the bit-mask to disable interrupt(s).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance. </td></tr>
    <tr><td class="paramname">Mask</td><td>is the mask to disable. Bit positions of 1 will be disabled. Bit positions of 0 will keep the previous setting. This mask is formed by OR'ing XCANPS_IXR_* bits defined in <a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#gad534c55a73e054745c04c3adada42a7a">XCANPS_IER_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#gac3325adebecffcb97cb01ff3c75391b0">XCanPs_IntrGetEnabled()</a>, and <a class="el" href="group__canps__v3__0.html#ga54552fe78115d81806e23a03646efb55">XCanPs_WriteReg</a>.</p>

</div>
</div>
<a id="ga06e4eda1022a81ea619ac7d66e345577"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga06e4eda1022a81ea619ac7d66e345577">&#9670;&nbsp;</a></span>XCanPs_IntrEnable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCanPs_IntrEnable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>

<p>This routine enables interrupt(s). </p>
<p>Use the XCANPS_IXR_* constants defined in <a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a> to create the bit-mask to enable interrupts.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance. </td></tr>
    <tr><td class="paramname">Mask</td><td>is the mask to enable. Bit positions of 1 will be enabled. Bit positions of 0 will keep the previous setting. This mask is formed by OR'ing XCANPS_IXR_* bits defined in <a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#gad534c55a73e054745c04c3adada42a7a">XCANPS_IER_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#gac3325adebecffcb97cb01ff3c75391b0">XCanPs_IntrGetEnabled()</a>, and <a class="el" href="group__canps__v3__0.html#ga54552fe78115d81806e23a03646efb55">XCanPs_WriteReg</a>.</p>

</div>
</div>
<a id="gac3325adebecffcb97cb01ff3c75391b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac3325adebecffcb97cb01ff3c75391b0">&#9670;&nbsp;</a></span>XCanPs_IntrGetEnabled()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XCanPs_IntrGetEnabled </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>

<p>This routine returns enabled interrupt(s). </p>
<p>Use the XCANPS_IXR_* constants defined in <a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a> to interpret the returned value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Enabled interrupt(s) in a 32-bit format.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#gad534c55a73e054745c04c3adada42a7a">XCANPS_IER_OFFSET</a>, and <a class="el" href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a>.</p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga6228ea25a1ccf31608231b07f3ae54a7">XCanPs_IntrDisable()</a>, <a class="el" href="group__canps__v3__0.html#ga06e4eda1022a81ea619ac7d66e345577">XCanPs_IntrEnable()</a>, and <a class="el" href="group__canps__v3__0.html#gad7c797dfe9aef613d20c2a822ed301dc">XCanPs_IntrHandler()</a>.</p>

</div>
</div>
<a id="gac6640f1ea5f9e4027d67af3b4eec4623"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac6640f1ea5f9e4027d67af3b4eec4623">&#9670;&nbsp;</a></span>XCanPs_IntrGetStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XCanPs_IntrGetStatus </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>

<p>This routine returns interrupt status read from Interrupt Status Register. </p>
<p>Use the XCANPS_IXR_* constants defined in <a class="el" href="xcanps__hw_8h.html">xcanps_hw.h</a> to interpret the returned value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value stored in Interrupt Status Register.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#gaf4dd00135421b512fc9c7eb7ce6b67bc">XCANPS_ISR_OFFSET</a>, and <a class="el" href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a>.</p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#gae573e5472755420a3b6ded5d01814534">XCanPs_IntrClear()</a>, and <a class="el" href="group__canps__v3__0.html#gad7c797dfe9aef613d20c2a822ed301dc">XCanPs_IntrHandler()</a>.</p>

</div>
</div>
<a id="gad7c797dfe9aef613d20c2a822ed301dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad7c797dfe9aef613d20c2a822ed301dc">&#9670;&nbsp;</a></span>XCanPs_IntrHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCanPs_IntrHandler </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>

<p>This routine is the interrupt handler for the CAN driver. </p>
<p>This handler reads the interrupt status from the ISR, determines the source of the interrupts, calls according callbacks, and finally clears the interrupts.</p>
<p>Application beyond this driver is responsible for providing callbacks to handle interrupts and installing the callbacks using <a class="el" href="group__canps__v3__0.html#ga0204f292cdab7478127acd765d97dd8d" title="This routine installs an asynchronous callback function for the given HandlerType: ...">XCanPs_SetHandler()</a> during initialization phase. An example delivered with this driver demonstrates how this could be done.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance that just interrupted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps.html#a9313489940a11876015dd38b6e3de9ff">XCanPs::ErrorHandler</a>, <a class="el" href="struct_x_can_ps.html#a1857e20990da8e6fd56ea2b7675d4ec6">XCanPs::EventHandler</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="struct_x_can_ps.html#aeb2c7083ed53b05f1281bf5ccc5c8c93">XCanPs::RecvHandler</a>, <a class="el" href="struct_x_can_ps.html#ab21c9bfc9351154b2c8731ec6b7a7fcb">XCanPs::SendHandler</a>, <a class="el" href="group__canps__v3__0.html#ga616ac01563ef3d8f9ae57bf308bad534">XCanPs_ClearBusErrorStatus()</a>, <a class="el" href="group__canps__v3__0.html#ga647e39edd3f7247a5e283e9083d8d285">XCanPs_GetBusErrorStatus()</a>, <a class="el" href="group__canps__v3__0.html#gae573e5472755420a3b6ded5d01814534">XCanPs_IntrClear()</a>, <a class="el" href="group__canps__v3__0.html#gac3325adebecffcb97cb01ff3c75391b0">XCanPs_IntrGetEnabled()</a>, <a class="el" href="group__canps__v3__0.html#gac6640f1ea5f9e4027d67af3b4eec4623">XCanPs_IntrGetStatus()</a>, <a class="el" href="group__canps__v3__0.html#ga4a9f40766aa79e63473f80e45d7a4cb2">XCANPS_IXR_ARBLST_MASK</a>, <a class="el" href="group__canps__v3__0.html#ga438360dd41b95c4e5794ed038e311cf1">XCANPS_IXR_BSOFF_MASK</a>, <a class="el" href="group__canps__v3__0.html#ga5f8ec6f644bc0212dce402d138716aa4">XCANPS_IXR_ERROR_MASK</a>, <a class="el" href="group__canps__v3__0.html#gafe154f7d522c1a8e7e26f20d1e8df897">XCANPS_IXR_RXFWMFLL_MASK</a>, <a class="el" href="group__canps__v3__0.html#ga63bd136fc25bca2796bce56d60a31ea6">XCANPS_IXR_RXNEMP_MASK</a>, <a class="el" href="group__canps__v3__0.html#ga380edfd096c837c735e9f50fcae4bd89">XCANPS_IXR_RXOFLW_MASK</a>, <a class="el" href="group__canps__v3__0.html#gadb093abe285ffcc4acfbe92175a9ff3c">XCANPS_IXR_RXUFLW_MASK</a>, <a class="el" href="group__canps__v3__0.html#ga83a79d0a328234c542de4a6a0615791c">XCANPS_IXR_SLP_MASK</a>, <a class="el" href="group__canps__v3__0.html#ga8ac7090cc527801acbb5209a75265072">XCANPS_IXR_TXBFLL_MASK</a>, <a class="el" href="group__canps__v3__0.html#ga7ee9a029b99b8293db3aa66c34a1db7c">XCANPS_IXR_TXFLL_MASK</a>, <a class="el" href="group__canps__v3__0.html#gae0079b661baab2a690b6beab2e259e86">XCANPS_IXR_TXFWMEMP_MASK</a>, <a class="el" href="group__canps__v3__0.html#ga5270e4112cfc21e4a7ed8c168f2ccb10">XCANPS_IXR_TXOK_MASK</a>, and <a class="el" href="group__canps__v3__0.html#gaa85aec590359fff45d33d12edb43d1fd">XCANPS_IXR_WKUP_MASK</a>.</p>

</div>
</div>
<a id="ga3d3245fb9be426b1f1cca0b20ea90905"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3d3245fb9be426b1f1cca0b20ea90905">&#9670;&nbsp;</a></span>XCanPs_LookupConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_can_ps___config.html">XCanPs_Config</a> * XCanPs_LookupConfig </td>
          <td>(</td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>DeviceId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>

<p>This function looks for the device configuration based on the unique device ID. </p>
<p>The table XCanPs_ConfigTable[] contains the configuration information for each device in the system.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">DeviceId</td><td>is the unique device ID of the device being looked up.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the configuration table entry corresponding to the given device ID, or NULL if no match is found.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">Referenced by <a class="el" href="xcanps__watermark__intr__example_8c.html#afd665c910e227f7c79d743b10d2273bd">CanPsWatermarkIntrExample()</a>.</p>

</div>
</div>
<a id="gaf821f77f00b8eca7c564b15d6c8f8b5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf821f77f00b8eca7c564b15d6c8f8b5e">&#9670;&nbsp;</a></span>XCanPs_Recv()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XCanPs_Recv </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32 *&#160;</td>
          <td class="paramname"><em>FramePtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8c.html">xcanps.c</a>&gt;</code></p>

<p>This function receives a CAN Frame. </p>
<p>This function first checks if RX FIFO is empty, if not, it then reads a frame from the RX FIFO into the given buffer. This function returns error code immediately if there is no frame in the RX FIFO.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance. </td></tr>
    <tr><td class="paramname">FramePtr</td><td>is a pointer to a 32-bit aligned buffer where the CAN frame to be written.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if RX FIFO was not empty and a frame was read from RX FIFO successfully and written into the given buffer.</li>
<li>XST_NO_DATA if there is no frame to be received from the FIFO.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#gae573e5472755420a3b6ded5d01814534">XCanPs_IntrClear()</a>, <a class="el" href="group__canps__v3__0.html#ga50a4bad5973f5a8819541969a226eeff">XCanPs_IsRxEmpty</a>, <a class="el" href="group__canps__v3__0.html#ga63bd136fc25bca2796bce56d60a31ea6">XCANPS_IXR_RXNEMP_MASK</a>, <a class="el" href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a>, <a class="el" href="group__canps__v3__0.html#ga5df39d1c1c96a98151789ec1e4e75d97">XCANPS_RXFIFO_DLC_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#gab81486ca8fa93c5e000320dada489d42">XCANPS_RXFIFO_DW1_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#gaf0b0033445dd41c7d603fb27b2f0bf49">XCANPS_RXFIFO_DW2_OFFSET</a>, and <a class="el" href="group__canps__v3__0.html#ga1e35a066151075f0f6b1fc6fa826db87">XCANPS_RXFIFO_ID_OFFSET</a>.</p>

</div>
</div>
<a id="ga13dce9f4dede25f041852b1c893ebfba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga13dce9f4dede25f041852b1c893ebfba">&#9670;&nbsp;</a></span>XCanPs_Reset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCanPs_Reset </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8c.html">xcanps.c</a>&gt;</code></p>

<p>This function resets the CAN device. </p>
<p>Calling this function resets the device immediately, and any pending transmission or reception is terminated at once. Both Object Layer and Transfer Layer are reset. This function does not reset the Physical Layer. All registers are reset to the default values, and no previous status will be restored. TX FIFO, RX FIFO and TX High Priority Buffer are also reset.</p>
<p>When a reset is required due to an internal error, the driver notifies the upper layer software of this need through the error status code or interrupts. The upper layer software is responsible for calling this Reset function and then re-configuring the device.</p>
<p>The CAN device will be in Configuration Mode immediately after this function returns.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#gafb27f73bff57c437925c094d2accbeca">XCANPS_SRR_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#ga4f344431790c6daf1fa330afdafa0bb6">XCANPS_SRR_SRST_MASK</a>, and <a class="el" href="group__canps__v3__0.html#ga54552fe78115d81806e23a03646efb55">XCanPs_WriteReg</a>.</p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga84d18d801c4f8ab5cc8eeadeff33d8b5">XCanPs_SelfTest()</a>.</p>

</div>
</div>
<a id="ga6ad5768c2d499d8f745b436632d670dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6ad5768c2d499d8f745b436632d670dd">&#9670;&nbsp;</a></span>XCanPs_ResetHw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCanPs_ResetHw </td>
          <td>(</td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>BaseAddr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__hw_8c.html">xcanps_hw.c</a>&gt;</code></p>

<p>This function resets the CAN device. </p>
<p>Calling this function resets the device immediately, and any pending transmission or reception is terminated at once. Both Object Layer and Transfer Layer are reset. This function does not reset the Physical Layer. All registers are reset to the default values, and no previous status will be restored. TX FIFO, RX FIFO and TX High Priority Buffer are also reset.</p>
<p>The CAN device will be in Configuration Mode immediately after this function returns.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddr</td><td>is the baseaddress of the interface.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="group__canps__v3__0.html#gafb27f73bff57c437925c094d2accbeca">XCANPS_SRR_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#ga4f344431790c6daf1fa330afdafa0bb6">XCANPS_SRR_SRST_MASK</a>, and <a class="el" href="group__canps__v3__0.html#ga54552fe78115d81806e23a03646efb55">XCanPs_WriteReg</a>.</p>

</div>
</div>
<a id="ga84d18d801c4f8ab5cc8eeadeff33d8b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga84d18d801c4f8ab5cc8eeadeff33d8b5">&#9670;&nbsp;</a></span>XCanPs_SelfTest()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XCanPs_SelfTest </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>

<p>This function runs a self-test on the CAN driver/device. </p>
<p>The test resets the device, sets up the Loop Back mode, sends a standard frame, receives the frame, verifies the contents, and resets the device again.</p>
<p>Note that this is a destructive test in that resets of the device are performed. Refer the device specification for the device status after the reset operation.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if the self-test passed. i.e., the frame received via the internal loop back has the same contents as the frame sent.<ul>
<li>XST_FAILURE Otherwise.</li>
</ul>
</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd></dd></dl>
<p>If the CAN device does not work properly, this function may enter an infinite loop and will never return to the caller. <br />
<br />
 If XST_FAILURE is returned, the device is not reset so that the caller could have a chance to check reason(s) causing the failure. </p>

<p class="reference">References <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#ga5a32b11e15d347ecae566778bb1c5e33">XCanPs_EnterMode()</a>, <a class="el" href="group__canps__v3__0.html#ga3644ad3aa2b02def735751ed45d207a4">XCanPs_GetMode()</a>, <a class="el" href="group__canps__v3__0.html#ga4e4f2c00506467b58276539cc1c2333e">XCANPS_MODE_CONFIG</a>, <a class="el" href="group__canps__v3__0.html#ga815748d9ef7547d7fd43f2b729c3108c">XCANPS_MODE_LOOPBACK</a>, <a class="el" href="group__canps__v3__0.html#ga13dce9f4dede25f041852b1c893ebfba">XCanPs_Reset()</a>, <a class="el" href="group__canps__v3__0.html#ga0e266c7af58c3b5eaef6e4dcd2354cbe">XCanPs_SetBaudRatePrescaler()</a>, and <a class="el" href="group__canps__v3__0.html#gac42876be22acc7e24262120000c4c548">XCanPs_SetBitTiming()</a>.</p>

</div>
</div>
<a id="ga4bea2b2b897bad064ebbf6c87a934a40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4bea2b2b897bad064ebbf6c87a934a40">&#9670;&nbsp;</a></span>XCanPs_Send()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XCanPs_Send </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32 *&#160;</td>
          <td class="paramname"><em>FramePtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8c.html">xcanps.c</a>&gt;</code></p>

<p>This function sends a CAN Frame. </p>
<p>If the TX FIFO is not full then the given frame is written into the the TX FIFO otherwise, it returns an error code immediately. This function does not wait for the given frame being sent to CAN bus.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance. </td></tr>
    <tr><td class="paramname">FramePtr</td><td>is a pointer to a 32-bit aligned buffer containing the CAN frame to be sent.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if TX FIFO was not full and the given frame was written into the FIFO.</li>
<li>XST_FIFO_NO_ROOM if there is no room in the TX FIFO for the given frame.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#ga24933e3b4780683d895a385e7d1b50d7">XCanPs_IsTxFifoFull</a>, <a class="el" href="group__canps__v3__0.html#gaf75023bc197ce872c17549d713df9554">XCANPS_TXFIFO_DLC_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#gacd9cd2454a08413ca93d0d930259a512">XCANPS_TXFIFO_DW1_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#ga013a534f0c8c386429c5cfb9c513f114">XCANPS_TXFIFO_DW2_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#gacb31377ed96f3942ad04a2d1cc671e0b">XCANPS_TXFIFO_ID_OFFSET</a>, and <a class="el" href="group__canps__v3__0.html#ga54552fe78115d81806e23a03646efb55">XCanPs_WriteReg</a>.</p>

</div>
</div>
<a id="ga64f46d8713f6e3d4c62047d6b9ddbebf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga64f46d8713f6e3d4c62047d6b9ddbebf">&#9670;&nbsp;</a></span>XCanPs_SendHighPriority()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XCanPs_SendHighPriority </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32 *&#160;</td>
          <td class="paramname"><em>FramePtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8c.html">xcanps.c</a>&gt;</code></p>

<p>This routine sends a CAN High Priority frame. </p>
<p>This function first checks if TX High Priority Buffer is empty. If yes, it then writes the given frame into the Buffer. If not, this function returns immediately. This function does not wait for the given frame being sent to CAN bus.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance. </td></tr>
    <tr><td class="paramname">FramePtr</td><td>is a pointer to a 32-bit aligned buffer containing the CAN High Priority frame to be sent.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if TX High Priority Buffer was not full and the given frame was written into the buffer.</li>
<li>XST_FIFO_NO_ROOM if there is no room in the TX High Priority Buffer for this frame.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd></dd></dl>
<p>If the frame needs to be sent immediately and not delayed by processor's interrupt handling, the caller should disable interrupt at processor level before invoking this function. </p>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#ga8dc513dd3633b55910d20150ca42bc12">XCanPs_IsHighPriorityBufFull</a>, <a class="el" href="group__canps__v3__0.html#ga77cb2726abe4719e42371b4925de121c">XCANPS_TXHPB_DLC_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#ga69e8639d7e62a61f25cff6be0637bee2">XCANPS_TXHPB_DW1_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#ga44b907a14b92140955ab6a16fe0264d8">XCANPS_TXHPB_DW2_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#ga5c6477d3dc9fa44898e0c45848784fd3">XCANPS_TXHPB_ID_OFFSET</a>, and <a class="el" href="group__canps__v3__0.html#ga54552fe78115d81806e23a03646efb55">XCanPs_WriteReg</a>.</p>

</div>
</div>
<a id="ga0e266c7af58c3b5eaef6e4dcd2354cbe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0e266c7af58c3b5eaef6e4dcd2354cbe">&#9670;&nbsp;</a></span>XCanPs_SetBaudRatePrescaler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XCanPs_SetBaudRatePrescaler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Prescaler</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8c.html">xcanps.c</a>&gt;</code></p>

<p>This routine sets Baud Rate Prescaler value. </p>
<p>The system clock for the CAN controller is divided by (Prescaler + 1) to generate the quantum clock needed for sampling and synchronization. Read the device specification for details.</p>
<p>Baud Rate Prescaler can be set only if the CAN device is in Configuration Mode. Call <a class="el" href="group__canps__v3__0.html#ga5a32b11e15d347ecae566778bb1c5e33" title="This function allows the CAN device to enter one of the following operation modes: ...">XCanPs_EnterMode()</a> to enter Configuration Mode before using this function.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance. </td></tr>
    <tr><td class="paramname">Prescaler</td><td>is the value to set. Valid values are from 0 to 255.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if the Baud Rate Prescaler value is set successfully.</li>
<li>XST_FAILURE if CAN device is not in Configuration Mode.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#ga9da53efdc3565439b3a73e896ac2256f">XCANPS_BRPR_OFFSET</a>, <a class="el" href="group__canps__v3__0.html#ga3644ad3aa2b02def735751ed45d207a4">XCanPs_GetMode()</a>, <a class="el" href="group__canps__v3__0.html#ga4e4f2c00506467b58276539cc1c2333e">XCANPS_MODE_CONFIG</a>, and <a class="el" href="group__canps__v3__0.html#ga54552fe78115d81806e23a03646efb55">XCanPs_WriteReg</a>.</p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga84d18d801c4f8ab5cc8eeadeff33d8b5">XCanPs_SelfTest()</a>.</p>

</div>
</div>
<a id="gac42876be22acc7e24262120000c4c548"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac42876be22acc7e24262120000c4c548">&#9670;&nbsp;</a></span>XCanPs_SetBitTiming()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XCanPs_SetBitTiming </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>SyncJumpWidth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>TimeSegment2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>TimeSegment1</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8c.html">xcanps.c</a>&gt;</code></p>

<p>This routine sets Bit time. </p>
<p>Time segment 1, Time segment 2 and Synchronization Jump Width are set in this function. Device specification requires the values passed into this function be one less than the actual values of these fields. Read the device specification for details.</p>
<p>Bit time can be set only if the CAN device is in Configuration Mode. Call <a class="el" href="group__canps__v3__0.html#ga5a32b11e15d347ecae566778bb1c5e33" title="This function allows the CAN device to enter one of the following operation modes: ...">XCanPs_EnterMode()</a> to enter Configuration Mode before using this function.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance. </td></tr>
    <tr><td class="paramname">SyncJumpWidth</td><td>is the Synchronization Jump Width value to set. Valid values are from 0 to 3. </td></tr>
    <tr><td class="paramname">TimeSegment2</td><td>is the Time Segment 2 value to set. Valid values are from 0 to 7. </td></tr>
    <tr><td class="paramname">TimeSegment1</td><td>is the Time Segment 1 value to set. Valid values are from 0 to 15.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if the Bit time is set successfully.</li>
<li>XST_FAILURE if CAN device is not in Configuration Mode.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#gaa00268720875bafc99c8bb93d8d1094e">XCANPS_BTR_TS1_MASK</a>, <a class="el" href="group__canps__v3__0.html#ga3644ad3aa2b02def735751ed45d207a4">XCanPs_GetMode()</a>, and <a class="el" href="group__canps__v3__0.html#ga4e4f2c00506467b58276539cc1c2333e">XCANPS_MODE_CONFIG</a>.</p>

<p class="reference">Referenced by <a class="el" href="group__canps__v3__0.html#ga84d18d801c4f8ab5cc8eeadeff33d8b5">XCanPs_SelfTest()</a>.</p>

</div>
</div>
<a id="ga0204f292cdab7478127acd765d97dd8d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0204f292cdab7478127acd765d97dd8d">&#9670;&nbsp;</a></span>XCanPs_SetHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XCanPs_SetHandler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>HandlerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallBackFunc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallBackRef</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8h.html">xcanps.h</a>&gt;</code></p>

<p>This routine installs an asynchronous callback function for the given HandlerType: </p>
<pre>
HandlerType                     Callback Function Type
----------------------- ------------------------
XCANPS_HANDLER_SEND             XCanPs_SendRecvHandler
XCANPS_HANDLER_RECV             XCanPs_SendRecvHandler
XCANPS_HANDLER_ERROR            XCanPs_ErrorHandler
XCANPS_HANDLER_EVENT            XCanPs_EventHandler</pre><pre>HandlerType                     Invoked by this driver when:
-------------------------------------------------------------------------
XCANPS_HANDLER_SEND             A frame transmitted by a call to
                        <a class="el" href="group__canps__v3__0.html#ga4bea2b2b897bad064ebbf6c87a934a40" title="This function sends a CAN Frame. ">XCanPs_Send()</a> has been sent successfully.</pre><pre>XCANPS_HANDLER_RECV             A frame(s) has been received and is sitting in
                        the RX FIFO.</pre><pre>XCANPS_HANDLER_ERROR            An error interrupt is occurring.</pre><pre>XCANPS_HANDLER_EVENT            Any other kind of interrupt is occurring.
</pre><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance. </td></tr>
    <tr><td class="paramname">HandlerType</td><td>specifies which handler is to be attached. </td></tr>
    <tr><td class="paramname">CallBackFunc</td><td>is the address of the callback function. </td></tr>
    <tr><td class="paramname">CallBackRef</td><td>is a user data item that will be passed to the callback function when it is invoked.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS when handler is installed.</li>
<li>XST_INVALID_PARAM when HandlerType is invalid.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Invoking this function for a handler that already has been installed replaces it with the new handler. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps.html#a9313489940a11876015dd38b6e3de9ff">XCanPs::ErrorHandler</a>, <a class="el" href="struct_x_can_ps.html#a1857e20990da8e6fd56ea2b7675d4ec6">XCanPs::EventHandler</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="struct_x_can_ps.html#aeb2c7083ed53b05f1281bf5ccc5c8c93">XCanPs::RecvHandler</a>, <a class="el" href="struct_x_can_ps.html#ab21c9bfc9351154b2c8731ec6b7a7fcb">XCanPs::SendHandler</a>, <a class="el" href="group__canps__v3__0.html#ga60962a646bcd90fd768f78ff34f17ba5">XCANPS_HANDLER_ERROR</a>, <a class="el" href="group__canps__v3__0.html#gad64733c5ddd21a972fc93a8d43f52d74">XCANPS_HANDLER_EVENT</a>, <a class="el" href="group__canps__v3__0.html#ga6393e21002da8517ac35ae9c1be58681">XCANPS_HANDLER_RECV</a>, and <a class="el" href="group__canps__v3__0.html#gafed3df99b6f79d0ff7c39a6a03ec6c90">XCANPS_HANDLER_SEND</a>.</p>

</div>
</div>
<a id="ga6c86f833053ec1121fcfad4176dea686"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6c86f833053ec1121fcfad4176dea686">&#9670;&nbsp;</a></span>XCanPs_SetRxIntrWatermark()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XCanPs_SetRxIntrWatermark </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Threshold</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8c.html">xcanps.c</a>&gt;</code></p>

<p>This routine sets the Rx Full threshold in the Watermark Interrupt Register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance. </td></tr>
    <tr><td class="paramname">Threshold</td><td>is the threshold to be set. The valid values are from 1 to 63.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_FAILURE - If the CAN device is not in Configuration Mode.</li>
<li>XST_SUCCESS - If the Rx Full threshold is set in Watermark Interrupt Register.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>The threshold can only be set when the CAN device is in the configuration mode. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#ga3644ad3aa2b02def735751ed45d207a4">XCanPs_GetMode()</a>, <a class="el" href="group__canps__v3__0.html#ga4e4f2c00506467b58276539cc1c2333e">XCANPS_MODE_CONFIG</a>, <a class="el" href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a>, <a class="el" href="group__canps__v3__0.html#ga47696ac14c38ae7091315ac7fb52c5c6">XCANPS_WIR_EW_MASK</a>, <a class="el" href="group__canps__v3__0.html#ga6d56baf5cc7a7eb6c54f3f2255e2291a">XCANPS_WIR_FW_MASK</a>, <a class="el" href="group__canps__v3__0.html#gafc95b4cb9252a27181088ceb7ea55368">XCANPS_WIR_OFFSET</a>, and <a class="el" href="group__canps__v3__0.html#ga54552fe78115d81806e23a03646efb55">XCanPs_WriteReg</a>.</p>

</div>
</div>
<a id="gaf4147148a66b44ca844ecbe3340ecce3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf4147148a66b44ca844ecbe3340ecce3">&#9670;&nbsp;</a></span>XCanPs_SetTxIntrWatermark()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XCanPs_SetTxIntrWatermark </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_can_ps.html">XCanPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Threshold</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps_8c.html">xcanps.c</a>&gt;</code></p>

<p>This routine sets the Tx Empty Threshold in the Watermark Interrupt Register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_can_ps.html" title="The XCanPs driver instance data. ">XCanPs</a> instance. </td></tr>
    <tr><td class="paramname">Threshold</td><td>is the threshold to be set. The valid values are from 1 to 63.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_FAILURE - If the CAN device is not in Configuration Mode.</li>
<li>XST_SUCCESS - If the threshold is set in Watermark Interrupt Register.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>The threshold can only be set when the CAN device is in the configuration mode. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_can_ps___config.html#aee675e97d4c791ba048930a546661376">XCanPs_Config::BaseAddr</a>, <a class="el" href="struct_x_can_ps.html#a30d5c051230d85a6e3067c612017db79">XCanPs::CanConfig</a>, <a class="el" href="struct_x_can_ps.html#ab07950d363c9316882a112ec5b32de32">XCanPs::IsReady</a>, <a class="el" href="group__canps__v3__0.html#ga3644ad3aa2b02def735751ed45d207a4">XCanPs_GetMode()</a>, <a class="el" href="group__canps__v3__0.html#ga4e4f2c00506467b58276539cc1c2333e">XCANPS_MODE_CONFIG</a>, <a class="el" href="group__canps__v3__0.html#ga6bace9f8a3ecc5df69b5e9611deaa47c">XCanPs_ReadReg</a>, <a class="el" href="group__canps__v3__0.html#ga47696ac14c38ae7091315ac7fb52c5c6">XCANPS_WIR_EW_MASK</a>, <a class="el" href="group__canps__v3__0.html#ga2e6e7ab6cde78ab992a1084ec540ac68">XCANPS_WIR_EW_SHIFT</a>, <a class="el" href="group__canps__v3__0.html#ga6d56baf5cc7a7eb6c54f3f2255e2291a">XCANPS_WIR_FW_MASK</a>, <a class="el" href="group__canps__v3__0.html#gafc95b4cb9252a27181088ceb7ea55368">XCANPS_WIR_OFFSET</a>, and <a class="el" href="group__canps__v3__0.html#ga54552fe78115d81806e23a03646efb55">XCanPs_WriteReg</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="ga72600d253c0867ed968aa6db9acea0dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga72600d253c0867ed968aa6db9acea0dd">&#9670;&nbsp;</a></span>XCanPs_ConfigTable <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_can_ps___config.html">XCanPs_Config</a> XCanPs_ConfigTable[XPAR_XCANPS_NUM_INSTANCES]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__sinit_8c.html">xcanps_sinit.c</a>&gt;</code></p>

<p>This table contains configuration information for each CAN device in the system. </p>

</div>
</div>
<a id="ga72600d253c0867ed968aa6db9acea0dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga72600d253c0867ed968aa6db9acea0dd">&#9670;&nbsp;</a></span>XCanPs_ConfigTable <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_can_ps___config.html">XCanPs_Config</a> XCanPs_ConfigTable[XPAR_XCANPS_NUM_INSTANCES]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcanps__g_8c.html">xcanps_g.c</a>&gt;</code></p>
<b>Initial value:</b><div class="fragment"><div class="line">= {</div><div class="line">        {</div><div class="line">                (u16)XPAR_XCANPS_0_DEVICE_ID,   </div><div class="line">                (u32)XPAR_XCANPS_0_BASEADDR             </div><div class="line">        },</div><div class="line"></div><div class="line"></div><div class="line"></div><div class="line"></div><div class="line"></div><div class="line"></div><div class="line">}</div></div><!-- fragment -->
<p>This table contains configuration information for each CAN device in the system. </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
